@cdklabs/cdk-construct-connect-datalake 0.0.19 → 0.0.20
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 +9 -9
- package/.jsii.tabl.json +1 -1
- package/lib/index.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/client-connect/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/package.json +6 -6
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/package.json +6 -6
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/package.json +6 -6
- package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/package.json +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +8 -8
- 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 +180 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/ByteJsonShapeSerializer.js +483 -0
- 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/BufferJsonShapeDeserializer.d.ts +29 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
- 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 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
- 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 +11 -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/event-streams/index.browser.js +34 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +34 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -0
- 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/event-streams/EventStreamSerde.js +34 -11
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -0
- 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/event-streams/EventStreamSerde.d.ts +10 -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/event-streams/EventStreamSerde.d.ts +10 -2
- 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/node_modules/xml2js/node_modules/sax/lib/sax.js +27 -9
- package/node_modules/xml2js/node_modules/sax/package.json +1 -1
- package/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +0 -135
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +0 -17
package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
1
|
+
import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
2
2
|
import { EventStreamMarshaller, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* Separated module for async mixin of EventStream serde capability.
|
|
@@ -12,15 +12,17 @@ export declare class EventStreamSerde {
|
|
|
12
12
|
private readonly deserializer;
|
|
13
13
|
private readonly serdeContext?;
|
|
14
14
|
private readonly defaultContentType;
|
|
15
|
+
private readonly compositeErrorRegistry?;
|
|
15
16
|
/**
|
|
16
17
|
* Properties are injected by the HttpProtocol.
|
|
17
18
|
*/
|
|
18
|
-
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }: {
|
|
19
|
+
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry, }: {
|
|
19
20
|
marshaller: EventStreamMarshaller;
|
|
20
21
|
serializer: ShapeSerializer<string | Uint8Array>;
|
|
21
22
|
deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
22
23
|
serdeContext?: SerdeFunctions;
|
|
23
24
|
defaultContentType: string;
|
|
25
|
+
compositeErrorRegistry?: TypeRegistry;
|
|
24
26
|
});
|
|
25
27
|
/**
|
|
26
28
|
* @param eventStream - the iterable provided by the caller.
|
|
@@ -49,6 +51,12 @@ export declare class EventStreamSerde {
|
|
|
49
51
|
[key: string]: any;
|
|
50
52
|
$unknown?: unknown;
|
|
51
53
|
}>>;
|
|
54
|
+
/**
|
|
55
|
+
* Reads and returns an event member. For error schemas, resolves the registered
|
|
56
|
+
* error constructor from the TypeRegistry and wraps the deserialized value
|
|
57
|
+
* so that it can be thrown as a typed exception instance by the caller.
|
|
58
|
+
*/
|
|
59
|
+
private readEventMember;
|
|
52
60
|
/**
|
|
53
61
|
* @param unionMember - member name within the structure that contains an event stream union.
|
|
54
62
|
* @param unionSchema - schema of the union.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.14",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test:watch": "yarn g:vitest watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@smithy/core": "^3.
|
|
48
|
+
"@smithy/core": "^3.30.0",
|
|
49
49
|
"@smithy/types": "^4.16.1",
|
|
50
50
|
"tslib": "^2.6.2"
|
|
51
51
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.11",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@smithy/core": "^3.
|
|
47
|
+
"@smithy/core": "^3.30.0",
|
|
48
48
|
"@smithy/types": "^4.16.1",
|
|
49
49
|
"tslib": "^2.6.2"
|
|
50
50
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.11",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test:watch": "yarn g:vitest watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@smithy/core": "^3.
|
|
46
|
+
"@smithy/core": "^3.30.0",
|
|
47
47
|
"@smithy/types": "^4.16.1",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.10",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test:watch": "yarn g:vitest watch"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/core": "^3.
|
|
45
|
+
"@smithy/core": "^3.30.0",
|
|
46
46
|
"@smithy/types": "^4.16.1",
|
|
47
47
|
"tslib": "^2.6.2"
|
|
48
48
|
},
|
|
@@ -381,8 +381,8 @@
|
|
|
381
381
|
|
|
382
382
|
// this really needs to be replaced with character classes.
|
|
383
383
|
// XML allows all manner of ridiculous numbers and digits.
|
|
384
|
-
var
|
|
385
|
-
var
|
|
384
|
+
var CDATAre = /^\[CDATA\[$/i
|
|
385
|
+
var DOCTYPEre = /^DOCTYPE$/i
|
|
386
386
|
var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
|
|
387
387
|
var XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
|
|
388
388
|
var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }
|
|
@@ -464,15 +464,15 @@
|
|
|
464
464
|
SCRIPT_ENDING: S++, // <script> ... <
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
sax.XML_ENTITIES = {
|
|
467
|
+
sax.XML_ENTITIES = Object.assign(Object.create(null), {
|
|
468
468
|
amp: '&',
|
|
469
469
|
gt: '>',
|
|
470
470
|
lt: '<',
|
|
471
471
|
quot: '"',
|
|
472
472
|
apos: "'",
|
|
473
|
-
}
|
|
473
|
+
})
|
|
474
474
|
|
|
475
|
-
sax.ENTITIES = {
|
|
475
|
+
sax.ENTITIES = Object.assign(Object.create(null), {
|
|
476
476
|
amp: '&',
|
|
477
477
|
gt: '>',
|
|
478
478
|
lt: '<',
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
clubs: 9827,
|
|
727
727
|
hearts: 9829,
|
|
728
728
|
diams: 9830,
|
|
729
|
-
}
|
|
729
|
+
})
|
|
730
730
|
|
|
731
731
|
Object.keys(sax.ENTITIES).forEach(function (key) {
|
|
732
732
|
var e = sax.ENTITIES[key]
|
|
@@ -1137,7 +1137,8 @@
|
|
|
1137
1137
|
isNaN(num) ||
|
|
1138
1138
|
numStr.toLowerCase() !== entity ||
|
|
1139
1139
|
num < 0 ||
|
|
1140
|
-
num > 0x10ffff
|
|
1140
|
+
num > 0x10ffff ||
|
|
1141
|
+
!isXmlChar(num)
|
|
1141
1142
|
) {
|
|
1142
1143
|
strictFail(parser, 'Invalid character entity')
|
|
1143
1144
|
return '&' + parser.entity + ';'
|
|
@@ -1146,6 +1147,23 @@
|
|
|
1146
1147
|
return String.fromCodePoint(num)
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1150
|
+
// Returns true if `num` is a code point that matches the XML `Char`
|
|
1151
|
+
// production, false otherwise. Character references that resolve to a
|
|
1152
|
+
// character outside this range (e.g. surrogates or restricted control
|
|
1153
|
+
// characters) are not well-formed.
|
|
1154
|
+
// https://www.w3.org/TR/REC-xml/#NT-Char
|
|
1155
|
+
// https://www.w3.org/TR/REC-xml/#wf-Legalchar
|
|
1156
|
+
function isXmlChar(num) {
|
|
1157
|
+
return (
|
|
1158
|
+
num === 0x9 ||
|
|
1159
|
+
num === 0xa ||
|
|
1160
|
+
num === 0xd ||
|
|
1161
|
+
(num >= 0x20 && num <= 0xd7ff) ||
|
|
1162
|
+
(num >= 0xe000 && num <= 0xfffd) ||
|
|
1163
|
+
(num >= 0x10000 && num <= 0x10ffff)
|
|
1164
|
+
)
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1149
1167
|
function beginWhiteSpace(parser, c) {
|
|
1150
1168
|
if (c === '<') {
|
|
1151
1169
|
parser.state = S.OPEN_WAKA
|
|
@@ -1317,12 +1335,12 @@
|
|
|
1317
1335
|
parser.state = S.DOCTYPE_DTD
|
|
1318
1336
|
parser.doctype += '<!' + parser.sgmlDecl + c
|
|
1319
1337
|
parser.sgmlDecl = ''
|
|
1320
|
-
} else if ((parser.sgmlDecl + c)
|
|
1338
|
+
} else if (CDATAre.test(parser.sgmlDecl + c)) {
|
|
1321
1339
|
emitNode(parser, 'onopencdata')
|
|
1322
1340
|
parser.state = S.CDATA
|
|
1323
1341
|
parser.sgmlDecl = ''
|
|
1324
1342
|
parser.cdata = ''
|
|
1325
|
-
} else if ((parser.sgmlDecl + c)
|
|
1343
|
+
} else if (DOCTYPEre.test(parser.sgmlDecl + c)) {
|
|
1326
1344
|
parser.state = S.DOCTYPE
|
|
1327
1345
|
if (parser.doctype || parser.sawRoot) {
|
|
1328
1346
|
strictFail(
|
package/package.json
CHANGED
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"jest": "^30.4.2",
|
|
63
63
|
"jest-junit": "^16",
|
|
64
64
|
"jsii": "~5.9",
|
|
65
|
-
"jsii-diff": "^1.
|
|
65
|
+
"jsii-diff": "^1.139.0",
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
|
67
|
-
"jsii-pacmak": "^1.
|
|
68
|
-
"jsii-rosetta": "^5.9.
|
|
67
|
+
"jsii-pacmak": "^1.139.0",
|
|
68
|
+
"jsii-rosetta": "^5.9.57",
|
|
69
69
|
"prettier": "^3.9.5",
|
|
70
70
|
"projen": "^0.99.17",
|
|
71
71
|
"ts-jest": "^29.4.11",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"constructs": "^10.5.1"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
-
"@aws-sdk/client-connect": "^3.
|
|
82
|
-
"@aws-sdk/client-glue": "^3.
|
|
83
|
-
"@aws-sdk/client-lakeformation": "^3.
|
|
84
|
-
"@aws-sdk/client-ram": "^3.
|
|
85
|
-
"@aws-sdk/client-sts": "^3.
|
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.1095.0",
|
|
81
|
+
"@aws-sdk/client-connect": "^3.1095.0",
|
|
82
|
+
"@aws-sdk/client-glue": "^3.1095.0",
|
|
83
|
+
"@aws-sdk/client-lakeformation": "^3.1095.0",
|
|
84
|
+
"@aws-sdk/client-ram": "^3.1095.0",
|
|
85
|
+
"@aws-sdk/client-sts": "^3.1095.0",
|
|
86
86
|
"@aws-sdk/types": "^3.974.2",
|
|
87
87
|
"@types/aws-lambda": "^8.10.162",
|
|
88
88
|
"aws-lambda": "^1.0.7"
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"publishConfig": {
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
|
-
"version": "0.0.
|
|
115
|
+
"version": "0.0.20",
|
|
116
116
|
"jest": {
|
|
117
117
|
"coverageProvider": "v8",
|
|
118
118
|
"moduleNameMapper": {
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { determineTimestampFormat } from "@smithy/core/protocols";
|
|
2
|
-
import { NormalizedSchema } from "@smithy/core/schema";
|
|
3
|
-
import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue, toBase64 } from "@smithy/core/serde";
|
|
4
|
-
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
5
|
-
export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
|
|
6
|
-
settings;
|
|
7
|
-
buffer;
|
|
8
|
-
rootSchema;
|
|
9
|
-
constructor(settings) {
|
|
10
|
-
super();
|
|
11
|
-
this.settings = settings;
|
|
12
|
-
}
|
|
13
|
-
write(schema, value) {
|
|
14
|
-
this.rootSchema = NormalizedSchema.of(schema);
|
|
15
|
-
this.buffer = this.writeObject(this.rootSchema, value);
|
|
16
|
-
}
|
|
17
|
-
writeDiscriminatedDocument(schema, value) {
|
|
18
|
-
this.write(schema, value);
|
|
19
|
-
if (typeof this.buffer === "object") {
|
|
20
|
-
this.buffer.__type = NormalizedSchema.of(schema).getName(true);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
flush() {
|
|
24
|
-
this.rootSchema = undefined;
|
|
25
|
-
return this.buffer;
|
|
26
|
-
}
|
|
27
|
-
writeObject(schema, value) {
|
|
28
|
-
if (value == undefined) {
|
|
29
|
-
return "";
|
|
30
|
-
}
|
|
31
|
-
let b = "";
|
|
32
|
-
const ns = NormalizedSchema.of(schema);
|
|
33
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
34
|
-
if (Array.isArray(value) && (ns.isDocumentSchema() || ns.isListSchema())) {
|
|
35
|
-
b += "[";
|
|
36
|
-
for (let i = 0; i < value.length; ++i) {
|
|
37
|
-
const item = value[i];
|
|
38
|
-
if (item != null || sparse) {
|
|
39
|
-
b += this.writeValue(ns.getValueSchema(), item);
|
|
40
|
-
b += ",";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
else if (ns.isStructSchema()) {
|
|
45
|
-
b += "{";
|
|
46
|
-
let didWriteMember = false;
|
|
47
|
-
for (const [name, member] of ns.structIterator()) {
|
|
48
|
-
const item = value[name];
|
|
49
|
-
const targetKey = this.settings.jsonName ? (member.getMergedTraits().jsonName ?? name) : name;
|
|
50
|
-
const serializableValue = this.writeValue(member, item);
|
|
51
|
-
if (item != null || member.isIdempotencyToken()) {
|
|
52
|
-
didWriteMember = true;
|
|
53
|
-
b += `"${targetKey}":${serializableValue}`;
|
|
54
|
-
b += ",";
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
if (!didWriteMember && ns.isUnionSchema()) {
|
|
58
|
-
const { $unknown } = value;
|
|
59
|
-
if (Array.isArray($unknown)) {
|
|
60
|
-
const [k, v] = $unknown;
|
|
61
|
-
b += `"${k}":${this.writeValue(15, v)}`;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
else if (ns.isMapSchema() || ns.isDocumentSchema()) {
|
|
66
|
-
b += "{";
|
|
67
|
-
for (const k in value) {
|
|
68
|
-
const v = value[k];
|
|
69
|
-
if (v != null || sparse) {
|
|
70
|
-
b += `"${k}":${this.writeValue(ns, v)}`;
|
|
71
|
-
b += ",";
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
if (b[b.length - 1] === ",") {
|
|
76
|
-
b = b.slice(0, -1);
|
|
77
|
-
}
|
|
78
|
-
if (b[0] === "[") {
|
|
79
|
-
b += "]";
|
|
80
|
-
}
|
|
81
|
-
if (b[0] === "{") {
|
|
82
|
-
b += "}";
|
|
83
|
-
}
|
|
84
|
-
return b;
|
|
85
|
-
}
|
|
86
|
-
writeValue(schema, value) {
|
|
87
|
-
const isObject = value !== null && typeof value === "object";
|
|
88
|
-
const ns = NormalizedSchema.of(schema);
|
|
89
|
-
const quote = (_) => `"${_}"`;
|
|
90
|
-
if ((ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) ||
|
|
91
|
-
(ns.isDocumentSchema() && value instanceof Uint8Array)) {
|
|
92
|
-
return quote((this.serdeContext?.base64Encoder ?? toBase64)(value));
|
|
93
|
-
}
|
|
94
|
-
if ((ns.isTimestampSchema() || ns.isDocumentSchema()) && value instanceof Date) {
|
|
95
|
-
const format = determineTimestampFormat(ns, this.settings);
|
|
96
|
-
switch (format) {
|
|
97
|
-
case 5:
|
|
98
|
-
return quote(value.toISOString().replace(".000Z", "Z"));
|
|
99
|
-
case 6:
|
|
100
|
-
return quote(dateToUtcString(value));
|
|
101
|
-
case 7:
|
|
102
|
-
return String(value.getTime() / 1000);
|
|
103
|
-
default:
|
|
104
|
-
console.warn("Missing timestamp format, using epoch seconds", value);
|
|
105
|
-
return String(value.getTime() / 1000);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
if (ns.isNumericSchema() && typeof value === "number") {
|
|
109
|
-
if (Math.abs(value) === Infinity || isNaN(value)) {
|
|
110
|
-
return quote(String(value));
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
if (ns.isStringSchema()) {
|
|
114
|
-
if (typeof value === "undefined" && ns.isIdempotencyToken()) {
|
|
115
|
-
return quote(generateIdempotencyToken());
|
|
116
|
-
}
|
|
117
|
-
if (typeof value === "string") {
|
|
118
|
-
const mediaType = ns.getMergedTraits().mediaType;
|
|
119
|
-
if (mediaType) {
|
|
120
|
-
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
121
|
-
if (isJson) {
|
|
122
|
-
return quote(LazyJsonString.from(value).toString());
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
if (value instanceof NumericValue) {
|
|
128
|
-
return value.string;
|
|
129
|
-
}
|
|
130
|
-
if (isObject) {
|
|
131
|
-
return this.writeObject(ns, value);
|
|
132
|
-
}
|
|
133
|
-
return typeof value === "string" ? quote(value) : String(value);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
-
import type { JsonSettings } from "../JsonCodec";
|
|
4
|
-
/**
|
|
5
|
-
* This implementation uses single-pass JSON serialization with JS code instead of
|
|
6
|
-
* JSON.stringify.
|
|
7
|
-
*
|
|
8
|
-
* It isn't significantly faster than dual-pass ending with native JSON.stringify
|
|
9
|
-
* that I would want to use it. It seems to be barely faster in some mid-range object
|
|
10
|
-
* sizes but slower on the high end.
|
|
11
|
-
*
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
export declare class SinglePassJsonShapeSerializer extends SerdeContextConfig implements ShapeSerializer<string> {
|
|
15
|
-
readonly settings: JsonSettings;
|
|
16
|
-
private buffer;
|
|
17
|
-
private rootSchema;
|
|
18
|
-
constructor(settings: JsonSettings);
|
|
19
|
-
write(schema: Schema, value: unknown): void;
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
|
-
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
24
|
-
flush(): string;
|
|
25
|
-
private writeObject;
|
|
26
|
-
private writeValue;
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
2
|
-
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
-
import { JsonSettings } from "../JsonCodec";
|
|
4
|
-
export declare class SinglePassJsonShapeSerializer
|
|
5
|
-
extends SerdeContextConfig
|
|
6
|
-
implements ShapeSerializer<string>
|
|
7
|
-
{
|
|
8
|
-
readonly settings: JsonSettings;
|
|
9
|
-
private buffer;
|
|
10
|
-
private rootSchema;
|
|
11
|
-
constructor(settings: JsonSettings);
|
|
12
|
-
write(schema: Schema, value: unknown): void;
|
|
13
|
-
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
14
|
-
flush(): string;
|
|
15
|
-
private writeObject;
|
|
16
|
-
private writeValue;
|
|
17
|
-
}
|