@cdk8s/awscdk-resolver 0.0.637 → 0.0.639
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/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +66 -28
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +133 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +10 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +10 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.js +13 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/ByteJsonShapeSerializer.js +27 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +22 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +0 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +21 -61
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +27 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +16 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +5 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +11 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +47 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +39 -112
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +48 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +14 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +35 -25
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +4 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +20 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +44 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/constants.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/encode-features.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +18 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/awsRegionConfig.d.ts +11 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +16 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +12 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/aws.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +38 -28
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +638 -647
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/isIpAddress.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -29
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveEndpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointError.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/shared.d.ts +1 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +27 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +18 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +8 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +28 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +44 -37
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -23
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +133 -56
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +9 -24
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +26 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +74 -40
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +25 -36
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +18 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +22 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +22 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +22 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +29 -49
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -49
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +19 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -30
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +22 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +27 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +49 -57
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +13 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +31 -47
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +14 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts +32 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +2 -4
- package/node_modules/@aws-sdk/core/package.json +10 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/package.json +5 -5
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol";
|
|
2
|
-
export { _toStr, _toBool, _toNum } from "./coercing-serializers";
|
|
3
|
-
export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
|
|
4
|
-
export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
|
|
5
|
-
export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
|
|
6
|
-
export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
|
|
7
|
-
export { JsonCodec } from "./json/JsonCodec";
|
|
8
|
-
export { JsonSettings } from "./json/JsonCodec";
|
|
9
|
-
export { JsonShapeDeserializer } from "./json/JsonShapeDeserializer";
|
|
10
|
-
export { JsonShapeSerializer } from "./json/JsonShapeSerializer";
|
|
11
|
-
export { awsExpectUnion } from "./json/awsExpectUnion";
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export { XmlCodec } from "./xml/XmlCodec";
|
|
24
|
-
export { XmlSettings } from "./xml/XmlCodec";
|
|
25
|
-
export { XmlShapeDeserializer } from "./xml/XmlShapeDeserializer";
|
|
26
|
-
export { XmlShapeSerializer } from "./xml/XmlShapeSerializer";
|
|
27
|
-
export { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from "./xml/parseXmlBody";
|
|
1
|
+
export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol";
|
|
2
|
+
export { _toStr, _toBool, _toNum } from "./coercing-serializers";
|
|
3
|
+
export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
|
|
4
|
+
export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
|
|
5
|
+
export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
|
|
6
|
+
export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
|
|
7
|
+
export { JsonCodec } from "./json/JsonCodec";
|
|
8
|
+
export { JsonSettings } from "./json/JsonCodec";
|
|
9
|
+
export { JsonShapeDeserializer } from "./json/JsonShapeDeserializer";
|
|
10
|
+
export { JsonShapeSerializer } from "./json/JsonShapeSerializer";
|
|
11
|
+
export { awsExpectUnion } from "./json/awsExpectUnion";
|
|
12
|
+
export { parseJsonBody, parseJsonErrorBody, loadRestJsonErrorCode, loadJsonRpcErrorCode } from "./json/parseJsonBody";
|
|
13
|
+
export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
|
|
14
|
+
export { AwsQueryProtocol } from "./query/AwsQueryProtocol";
|
|
15
|
+
export { QuerySerializerSettings } from "./query/QuerySerializerSettings";
|
|
16
|
+
export { QueryShapeSerializer } from "./query/QueryShapeSerializer";
|
|
17
|
+
export { AwsRestXmlProtocol } from "./xml/AwsRestXmlProtocol";
|
|
18
|
+
export { XmlCodec } from "./xml/XmlCodec";
|
|
19
|
+
export { XmlSettings } from "./xml/XmlCodec";
|
|
20
|
+
export { XmlShapeDeserializer } from "./xml/XmlShapeDeserializer";
|
|
21
|
+
export { XmlShapeSerializer } from "./xml/XmlShapeSerializer";
|
|
22
|
+
export { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from "./xml/parseXmlBody";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
-
import { JsonCodec } from "./JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
awsQueryCompatible,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
+
import { JsonCodec } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
|
|
7
|
+
*/
|
|
8
|
+
export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
|
|
9
|
+
constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
|
|
10
|
+
defaultNamespace: string;
|
|
11
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
12
|
+
serviceTarget: string;
|
|
13
|
+
awsQueryCompatible?: boolean;
|
|
14
|
+
jsonCodec?: JsonCodec;
|
|
15
|
+
});
|
|
16
|
+
getShapeId(): string;
|
|
17
|
+
protected getJsonRpcVersion(): "1.0";
|
|
18
|
+
/**
|
|
19
|
+
* @override
|
|
20
|
+
*/
|
|
21
|
+
protected getDefaultContentType(): string;
|
|
22
|
+
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
-
import { JsonCodec } from "./JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
awsQueryCompatible,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
+
import { JsonCodec } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @see https://smithy.io/2.0/aws/protocols/aws-json-1_1-protocol.html#differences-between-awsjson1-0-and-awsjson1-1
|
|
7
|
+
*/
|
|
8
|
+
export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
|
|
9
|
+
constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
|
|
10
|
+
defaultNamespace: string;
|
|
11
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
12
|
+
serviceTarget: string;
|
|
13
|
+
awsQueryCompatible?: boolean;
|
|
14
|
+
jsonCodec?: JsonCodec;
|
|
15
|
+
});
|
|
16
|
+
getShapeId(): string;
|
|
17
|
+
protected getJsonRpcVersion(): "1.1";
|
|
18
|
+
/**
|
|
19
|
+
* @override
|
|
20
|
+
*/
|
|
21
|
+
protected getDefaultContentType(): string;
|
|
22
|
+
}
|
|
@@ -1,49 +1,29 @@
|
|
|
1
|
-
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
errorTypeRegistries?: TypeRegistry[];
|
|
31
|
-
serviceTarget: string;
|
|
32
|
-
awsQueryCompatible?: boolean;
|
|
33
|
-
jsonCodec?: JsonCodec;
|
|
34
|
-
});
|
|
35
|
-
serializeRequest<Input extends object>(
|
|
36
|
-
operationSchema: OperationSchema,
|
|
37
|
-
input: Input,
|
|
38
|
-
context: HandlerExecutionContext & SerdeFunctions & EndpointBearer,
|
|
39
|
-
): Promise<HttpRequest>;
|
|
40
|
-
getPayloadCodec(): JsonCodec;
|
|
41
|
-
protected abstract getJsonRpcVersion(): "1.1" | "1.0";
|
|
42
|
-
protected handleError(
|
|
43
|
-
operationSchema: OperationSchema,
|
|
44
|
-
context: HandlerExecutionContext & SerdeFunctions,
|
|
45
|
-
response: HttpResponse,
|
|
46
|
-
dataObject: any,
|
|
47
|
-
metadata: ResponseMetadata,
|
|
48
|
-
): Promise<never>;
|
|
49
|
-
}
|
|
1
|
+
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
+
import { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
|
+
import { JsonCodec } from "./JsonCodec";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
|
|
9
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
10
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
11
|
+
protected serviceTarget: string;
|
|
12
|
+
private readonly codec;
|
|
13
|
+
private readonly mixin;
|
|
14
|
+
private readonly awsQueryCompatible;
|
|
15
|
+
protected constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }: {
|
|
16
|
+
defaultNamespace: string;
|
|
17
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
18
|
+
serviceTarget: string;
|
|
19
|
+
awsQueryCompatible?: boolean;
|
|
20
|
+
jsonCodec?: JsonCodec;
|
|
21
|
+
});
|
|
22
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
23
|
+
getPayloadCodec(): JsonCodec;
|
|
24
|
+
protected abstract getJsonRpcVersion(): "1.1" | "1.0";
|
|
25
|
+
/**
|
|
26
|
+
* @override
|
|
27
|
+
*/
|
|
28
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
29
|
+
}
|
|
@@ -1,49 +1,36 @@
|
|
|
1
|
-
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
operationSchema: OperationSchema,
|
|
38
|
-
context: HandlerExecutionContext & SerdeFunctions,
|
|
39
|
-
response: HttpResponse,
|
|
40
|
-
): Promise<Output>;
|
|
41
|
-
protected handleError(
|
|
42
|
-
operationSchema: OperationSchema,
|
|
43
|
-
context: HandlerExecutionContext & SerdeFunctions,
|
|
44
|
-
response: HttpResponse,
|
|
45
|
-
dataObject: any,
|
|
46
|
-
metadata: ResponseMetadata,
|
|
47
|
-
): Promise<never>;
|
|
48
|
-
protected getDefaultContentType(): string;
|
|
49
|
-
}
|
|
1
|
+
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
+
import { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
|
+
import { JsonCodec } from "./JsonCodec";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
9
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
10
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
11
|
+
private readonly codec;
|
|
12
|
+
private readonly mixin;
|
|
13
|
+
constructor({ defaultNamespace, errorTypeRegistries, }: {
|
|
14
|
+
defaultNamespace: string;
|
|
15
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
16
|
+
});
|
|
17
|
+
getShapeId(): string;
|
|
18
|
+
getPayloadCodec(): JsonCodec;
|
|
19
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
*/
|
|
23
|
+
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
24
|
+
/**
|
|
25
|
+
* @override
|
|
26
|
+
*/
|
|
27
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse): Promise<Output>;
|
|
28
|
+
/**
|
|
29
|
+
* @override
|
|
30
|
+
*/
|
|
31
|
+
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
32
|
+
/**
|
|
33
|
+
* @override
|
|
34
|
+
*/
|
|
35
|
+
protected getDefaultContentType(): string;
|
|
36
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import { Codec, CodecSettings } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
-
import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
|
|
4
|
-
import { JsonShapeSerializer } from "./JsonShapeSerializer";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { Codec, CodecSettings } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
|
|
4
|
+
import { JsonShapeSerializer } from "./JsonShapeSerializer";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type JsonSettings = CodecSettings & {
|
|
9
|
+
jsonName: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> {
|
|
15
|
+
readonly settings: JsonSettings;
|
|
16
|
+
constructor(settings: JsonSettings);
|
|
17
|
+
createSerializer(): JsonShapeSerializer;
|
|
18
|
+
createDeserializer(): JsonShapeDeserializer;
|
|
19
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
-
import { JsonSettings } from "./JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "./JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class JsonShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer<string> {
|
|
8
|
+
readonly settings: JsonSettings;
|
|
9
|
+
constructor(settings: JsonSettings);
|
|
10
|
+
read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
|
|
11
|
+
readObject(schema: Schema, data: DocumentType): any;
|
|
12
|
+
protected _read(schema: Schema, value: unknown): any;
|
|
13
|
+
}
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
3
|
-
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
4
|
-
import { JsonSettings } from "./JsonCodec";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
+
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
3
|
+
import { SerdeContextConfig } from "../ConfigurableSerdeContext";
|
|
4
|
+
import { JsonSettings } from "./JsonCodec";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class JsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string> {
|
|
9
|
+
readonly settings: JsonSettings;
|
|
10
|
+
/**
|
|
11
|
+
* Write buffer. Reused per value serialization pass.
|
|
12
|
+
* In the initial implementation, this is not an incremental buffer.
|
|
13
|
+
*/
|
|
14
|
+
protected buffer: any;
|
|
15
|
+
protected useReplacer: boolean;
|
|
16
|
+
protected rootSchema: NormalizedSchema | undefined;
|
|
17
|
+
constructor(settings: JsonSettings);
|
|
18
|
+
write(schema: Schema, value: unknown): void;
|
|
19
|
+
flush(): string;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
24
|
+
/**
|
|
25
|
+
* Order if-statements by likelihood.
|
|
26
|
+
*/
|
|
27
|
+
protected _write(schema: Schema, value: unknown, container?: NormalizedSchema): any;
|
|
28
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*
|
|
4
|
+
* Forwards to Smithy's expectUnion function, but also ignores
|
|
5
|
+
* the `__type` field if it is present.
|
|
6
|
+
*/
|
|
7
|
+
export declare const awsExpectUnion: (value: unknown) => Record<string, any> | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function detectBufferParsing(): boolean;
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
-
import { JsonSettings } from "../JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "../JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* Performance-optimized JSON deserializer.
|
|
6
|
+
*
|
|
7
|
+
* Skips UTF-8 decoding when the runtime supports JSON.parse(Buffer) (Node 22+).
|
|
8
|
+
*
|
|
9
|
+
* After JSON.parse, lists, maps, and document containers are mutated in place
|
|
10
|
+
* (element values are overwritten with their deserialized form) rather than
|
|
11
|
+
* copied into new arrays/objects. Structs allocate a fresh object because
|
|
12
|
+
* jsonName traits require key renaming, and building the output object
|
|
13
|
+
* incrementally lets V8 assign a stable hidden class rather than
|
|
14
|
+
* deoptimizing from repeated property deletion/addition on an existing shape.
|
|
15
|
+
*
|
|
16
|
+
* In-place mutation is safe here because the parsed tree is locally owned
|
|
17
|
+
* after JSON.parse with no external references, so rewriting values avoids
|
|
18
|
+
* redundant allocation and GC pressure.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare class BufferJsonShapeDeserializer extends SerdeContextConfig implements ShapeDeserializer<string> {
|
|
23
|
+
readonly settings: JsonSettings;
|
|
24
|
+
constructor(settings: JsonSettings);
|
|
25
|
+
read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
|
|
26
|
+
readObject(schema: Schema, data: DocumentType): any;
|
|
27
|
+
protected _read(schema: Schema, value: unknown): any;
|
|
28
|
+
private _readStruct;
|
|
29
|
+
}
|
|
@@ -1,30 +1,57 @@
|
|
|
1
|
-
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
-
import { JsonSettings } from "../JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "../JsonCodec";
|
|
4
|
+
/**
|
|
5
|
+
* Experimental single-pass JSON serializer that writes directly to a Uint8Array buffer.
|
|
6
|
+
* Fewer intermediate states as when compared to the initial multi-pass implementation.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare class ByteJsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<Uint8Array> {
|
|
11
|
+
readonly settings: JsonSettings;
|
|
12
|
+
private json;
|
|
13
|
+
private i;
|
|
14
|
+
private rootSchema;
|
|
15
|
+
constructor(settings: JsonSettings);
|
|
16
|
+
write(schema: Schema, value: unknown): void;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the serialized JSON as a Uint8Array (UTF-8 bytes).
|
|
23
|
+
* This is the primary output — pass directly to request.body.
|
|
24
|
+
*/
|
|
25
|
+
flush(): Uint8Array;
|
|
26
|
+
private ensure;
|
|
27
|
+
/**
|
|
28
|
+
* Write a raw ASCII string (no JSON escaping). Used for pre-validated content
|
|
29
|
+
* like numeric literals and pre-encoded base64.
|
|
30
|
+
*/
|
|
31
|
+
private writeAscii;
|
|
32
|
+
/**
|
|
33
|
+
* Write a quoted ASCII string with no escape checking.
|
|
34
|
+
* Used for struct member keys (jsonName or model names) which are
|
|
35
|
+
* guaranteed to be safe ASCII identifiers. No control chars, quotes,
|
|
36
|
+
* backslashes, or non-ASCII.
|
|
37
|
+
* Ensures extra room for surrounding structural chars (comma, colon).
|
|
38
|
+
*/
|
|
39
|
+
private writeAsciiQuoted;
|
|
40
|
+
/**
|
|
41
|
+
* Write a JSON-escaped string including the surrounding quotes.
|
|
42
|
+
* Fast-path for ASCII, falls back to TextEncoder for multi-byte.
|
|
43
|
+
*/
|
|
44
|
+
private writeJsonString;
|
|
45
|
+
private writeUnicodeEscape;
|
|
46
|
+
private static readonly B64;
|
|
47
|
+
/**
|
|
48
|
+
* Write a Uint8Array as a quoted base64 string directly into the buffer.
|
|
49
|
+
* No intermediate JS string, no escape checking (base64 alphabet is safe ASCII).
|
|
50
|
+
*/
|
|
51
|
+
private writeBase64;
|
|
52
|
+
private writeValue;
|
|
53
|
+
private writeStruct;
|
|
54
|
+
private writeList;
|
|
55
|
+
private writeMap;
|
|
56
|
+
private writeTimestamp;
|
|
57
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Serializes BigInt and NumericValue to JSON-number.
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare class JsonReplacer {
|
|
6
|
+
/**
|
|
7
|
+
* Stores placeholder key to true serialized value lookup.
|
|
8
|
+
*/
|
|
9
|
+
private readonly values;
|
|
10
|
+
private counter;
|
|
11
|
+
private stage;
|
|
12
|
+
/**
|
|
13
|
+
* Creates a jsonReplacer function that reserves big integer and big decimal values
|
|
14
|
+
* for later replacement.
|
|
15
|
+
*/
|
|
16
|
+
createReplacer(): (key: string, value: unknown) => unknown;
|
|
17
|
+
/**
|
|
18
|
+
* Replaces placeholder keys with their true values.
|
|
19
|
+
*/
|
|
20
|
+
replaceInJson(json: string): string;
|
|
21
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @param key - JSON object key.
|
|
3
|
+
* @param value - parsed value.
|
|
4
|
+
* @param context - original JSON string for reference. Not available until Node.js 21 and unavailable in Safari as
|
|
5
|
+
* of April 2025.
|
|
6
|
+
*
|
|
7
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#browser_compatibility
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*
|
|
11
|
+
* @returns transformed value.
|
|
12
|
+
*/
|
|
13
|
+
export declare function jsonReviver(key: string, value: any, context?: {
|
|
14
|
+
source?: string;
|
|
15
|
+
}): any;
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Schema } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether a schema tree contains BigInteger or BigDecimal members,
|
|
4
|
+
* which require a JSON.parse reviver to preserve numeric precision.
|
|
5
|
+
*
|
|
6
|
+
* The result is cached on the root static schema array (struct schemas) via a Symbol key,
|
|
7
|
+
* so subsequent calls for the same schema are O(1).
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export declare function needsReviver(schema: Schema): boolean;
|