@cdk8s/awscdk-resolver 0.0.643 → 0.0.645
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +7 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +856 -57
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +8 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonCodec.js → codec-v1/JsonCodec.js} +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeDeserializer.js → codec-v1/JsonShapeDeserializer.js} +6 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{JsonShapeSerializer.js → codec-v1/JsonShapeSerializer.js} +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +103 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{experimental/BufferJsonShapeDeserializer.js → codec-v2/JsonShapeDeserializer2.js} +38 -18
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{experimental/ByteJsonShapeSerializer.js → codec-v2/JsonShapeSerializer2.js} +66 -60
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +9 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonCodec.d.ts → codec-v1/JsonCodec.d.ts} +4 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeDeserializer.d.ts → codec-v1/JsonShapeDeserializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{JsonShapeSerializer.d.ts → codec-v1/JsonShapeSerializer.d.ts} +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{experimental/BufferJsonShapeDeserializer.d.ts → codec-v2/JsonShapeDeserializer2.d.ts} +4 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{experimental/ByteJsonShapeSerializer.d.ts → codec-v2/JsonShapeSerializer2.d.ts} +19 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +61 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +13 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +4 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +5 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +16 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +4 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +107 -47
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +112 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +107 -48
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +13 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +25 -35
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +14 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +2 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +16 -20
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +21 -44
- 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 +2 -5
- 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 +8 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +14 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +7 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +6 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -7
- 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 +4 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +2 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +28 -38
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +647 -638
- 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 +29 -56
- 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 +6 -1
- 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 +12 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +4 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +7 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +18 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +13 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +17 -28
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +2 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +4 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +9 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +39 -44
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +23 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +13 -38
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +57 -133
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +32 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +1 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +2 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +6 -26
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +1 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +40 -74
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +9 -24
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +36 -25
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +3 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +30 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +21 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +21 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +49 -29
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +49 -36
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +1 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +27 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +14 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +18 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +57 -49
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +7 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +21 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +47 -31
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -20
- 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 +4 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -6
- 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 +14 -32
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +4 -2
- package/node_modules/@aws-sdk/core/package.json +3 -3
- 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/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/@smithy/core/dist-cjs/submodules/cbor/index.js +1561 -337
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +4 -205
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +113 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +103 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +621 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +602 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -27
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -27
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +35 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -1
- package/node_modules/@smithy/core/package.json +2 -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
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +0 -19
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +0 -28
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +0 -29
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +0 -57
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
1
|
+
export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol";
|
|
2
|
+
export { AwsJson1_0Protocol } from "./json/AwsJson1_0Protocol";
|
|
3
|
+
export { AwsJson1_1Protocol } from "./json/AwsJson1_1Protocol";
|
|
4
|
+
export { AwsJsonRpcProtocol } from "./json/AwsJsonRpcProtocol";
|
|
5
|
+
export { AwsRestJsonProtocol } from "./json/AwsRestJsonProtocol";
|
|
6
|
+
export { JsonCodec } from "./json/codec-v1/JsonCodec";
|
|
7
|
+
export { JsonSettings } from "./json/JsonSettings";
|
|
8
|
+
export { JsonShapeDeserializer } from "./json/codec-v1/JsonShapeDeserializer";
|
|
9
|
+
export { JsonShapeSerializer } from "./json/codec-v1/JsonShapeSerializer";
|
|
10
|
+
export { JsonCodec2 } from "./json/codec-v2/JsonCodec2";
|
|
11
|
+
export { JsonShapeDeserializer2 } from "./json/codec-v2/JsonShapeDeserializer2";
|
|
12
|
+
export { JsonShapeSerializer2 } from "./json/codec-v2/JsonShapeSerializer2";
|
|
13
|
+
export {
|
|
14
|
+
parseJsonBody,
|
|
15
|
+
parseJsonErrorBody,
|
|
16
|
+
loadRestJsonErrorCode,
|
|
17
|
+
loadJsonRpcErrorCode,
|
|
18
|
+
} from "./json/parseJsonBody";
|
|
19
|
+
export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
|
|
20
|
+
export { AwsQueryProtocol } from "./query/AwsQueryProtocol";
|
|
21
|
+
export { QuerySerializerSettings } from "./query/QuerySerializerSettings";
|
|
22
|
+
export { QueryShapeSerializer } from "./query/QueryShapeSerializer";
|
|
23
|
+
export { AwsRestXmlProtocol } from "./xml/AwsRestXmlProtocol";
|
|
24
|
+
export { XmlCodec } from "./xml/XmlCodec";
|
|
25
|
+
export { XmlSettings } from "./xml/XmlCodec";
|
|
26
|
+
export { XmlShapeDeserializer } from "./xml/XmlShapeDeserializer";
|
|
27
|
+
export { XmlShapeSerializer } from "./xml/XmlShapeSerializer";
|
|
28
|
+
export { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from "./xml/parseXmlBody";
|
|
29
|
+
export { awsExpectUnion } from "./json/awsExpectUnion";
|
|
30
|
+
export { _toStr, _toBool, _toNum } from "./coercing-serializers";
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
-
import { JsonCodec } from "./JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
+
import { JsonCodec } from "./codec-v1/JsonCodec";
|
|
4
|
+
export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
|
|
5
|
+
constructor({
|
|
6
|
+
defaultNamespace,
|
|
7
|
+
errorTypeRegistries,
|
|
8
|
+
serviceTarget,
|
|
9
|
+
awsQueryCompatible,
|
|
10
|
+
jsonCodec,
|
|
11
|
+
}: {
|
|
12
|
+
defaultNamespace: string;
|
|
13
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
14
|
+
serviceTarget: string;
|
|
15
|
+
awsQueryCompatible?: boolean;
|
|
16
|
+
jsonCodec?: JsonCodec;
|
|
17
|
+
});
|
|
18
|
+
getShapeId(): string;
|
|
19
|
+
protected getJsonRpcVersion(): "1.0";
|
|
20
|
+
protected getDefaultContentType(): string;
|
|
21
|
+
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
-
import { JsonCodec } from "./JsonCodec";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
|
|
3
|
+
import { JsonCodec } from "./codec-v1/JsonCodec";
|
|
4
|
+
export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
|
|
5
|
+
constructor({
|
|
6
|
+
defaultNamespace,
|
|
7
|
+
errorTypeRegistries,
|
|
8
|
+
serviceTarget,
|
|
9
|
+
awsQueryCompatible,
|
|
10
|
+
jsonCodec,
|
|
11
|
+
}: {
|
|
12
|
+
defaultNamespace: string;
|
|
13
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
14
|
+
serviceTarget: string;
|
|
15
|
+
awsQueryCompatible?: boolean;
|
|
16
|
+
jsonCodec?: JsonCodec;
|
|
17
|
+
});
|
|
18
|
+
getShapeId(): string;
|
|
19
|
+
protected getJsonRpcVersion(): "1.1";
|
|
20
|
+
protected getDefaultContentType(): string;
|
|
21
|
+
}
|
|
@@ -1,29 +1,49 @@
|
|
|
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
|
-
|
|
1
|
+
import { RpcProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
+
import {
|
|
4
|
+
EndpointBearer,
|
|
5
|
+
HandlerExecutionContext,
|
|
6
|
+
HttpRequest,
|
|
7
|
+
HttpResponse,
|
|
8
|
+
OperationSchema,
|
|
9
|
+
ResponseMetadata,
|
|
10
|
+
SerdeFunctions,
|
|
11
|
+
ShapeDeserializer,
|
|
12
|
+
ShapeSerializer,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { JsonCodec } from "./codec-v1/JsonCodec";
|
|
15
|
+
export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
|
|
16
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
17
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
18
|
+
protected serviceTarget: string;
|
|
19
|
+
private readonly codec;
|
|
20
|
+
private readonly mixin;
|
|
21
|
+
private readonly awsQueryCompatible;
|
|
22
|
+
protected constructor({
|
|
23
|
+
defaultNamespace,
|
|
24
|
+
errorTypeRegistries,
|
|
25
|
+
serviceTarget,
|
|
26
|
+
awsQueryCompatible,
|
|
27
|
+
jsonCodec,
|
|
28
|
+
}: {
|
|
29
|
+
defaultNamespace: string;
|
|
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,36 +1,49 @@
|
|
|
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
|
-
|
|
1
|
+
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
3
|
+
import {
|
|
4
|
+
EndpointBearer,
|
|
5
|
+
HandlerExecutionContext,
|
|
6
|
+
HttpRequest,
|
|
7
|
+
HttpResponse,
|
|
8
|
+
MetadataBearer,
|
|
9
|
+
OperationSchema,
|
|
10
|
+
ResponseMetadata,
|
|
11
|
+
SerdeFunctions,
|
|
12
|
+
ShapeDeserializer,
|
|
13
|
+
ShapeSerializer,
|
|
14
|
+
} from "@smithy/types";
|
|
15
|
+
import { JsonCodec } from "./codec-v1/JsonCodec";
|
|
16
|
+
export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
17
|
+
protected serializer: ShapeSerializer<string | Uint8Array>;
|
|
18
|
+
protected deserializer: ShapeDeserializer<string | Uint8Array>;
|
|
19
|
+
private readonly codec;
|
|
20
|
+
private readonly mixin;
|
|
21
|
+
constructor({
|
|
22
|
+
defaultNamespace,
|
|
23
|
+
errorTypeRegistries,
|
|
24
|
+
}: {
|
|
25
|
+
defaultNamespace: string;
|
|
26
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
27
|
+
});
|
|
28
|
+
getShapeId(): string;
|
|
29
|
+
getPayloadCodec(): JsonCodec;
|
|
30
|
+
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
31
|
+
serializeRequest<Input extends object>(
|
|
32
|
+
operationSchema: OperationSchema,
|
|
33
|
+
input: Input,
|
|
34
|
+
context: HandlerExecutionContext & SerdeFunctions & EndpointBearer,
|
|
35
|
+
): Promise<HttpRequest>;
|
|
36
|
+
deserializeResponse<Output extends MetadataBearer>(
|
|
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
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts
CHANGED
|
@@ -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;
|
|
1
|
+
export declare const awsExpectUnion: (value: unknown) => Record<string, any> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Codec } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
|
|
4
|
+
import { JsonShapeSerializer } from "./JsonShapeSerializer";
|
|
5
|
+
import { JsonSettings } from "./JsonSettings";
|
|
6
|
+
export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> {
|
|
7
|
+
readonly settings: JsonSettings;
|
|
8
|
+
constructor(settings: JsonSettings);
|
|
9
|
+
createSerializer(): JsonShapeSerializer;
|
|
10
|
+
createDeserializer(): JsonShapeDeserializer;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "./JsonSettings";
|
|
4
|
+
export declare class JsonShapeDeserializer
|
|
5
|
+
extends SerdeContextConfig
|
|
6
|
+
implements ShapeDeserializer<string>
|
|
7
|
+
{
|
|
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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
+
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
3
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
4
|
+
import { JsonSettings } from "./JsonSettings";
|
|
5
|
+
export declare class JsonShapeSerializer
|
|
6
|
+
extends SerdeContextConfig
|
|
7
|
+
implements ShapeSerializer<string>
|
|
8
|
+
{
|
|
9
|
+
readonly settings: JsonSettings;
|
|
10
|
+
protected buffer: any;
|
|
11
|
+
protected useReplacer: boolean;
|
|
12
|
+
protected rootSchema: NormalizedSchema | undefined;
|
|
13
|
+
constructor(settings: JsonSettings);
|
|
14
|
+
write(schema: Schema, value: unknown): void;
|
|
15
|
+
flush(): string;
|
|
16
|
+
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
17
|
+
protected _write(schema: Schema, value: unknown, container?: NormalizedSchema): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare class JsonBytesStringAdapter extends Uint8Array {
|
|
2
|
+
private string;
|
|
3
|
+
static allocUnsafe(bytes: number): JsonBytesStringAdapter;
|
|
4
|
+
toString(): string;
|
|
5
|
+
valueOf(): any;
|
|
6
|
+
includes(searchString: string | number, position?: number): boolean;
|
|
7
|
+
indexOf(searchString: string | number, position?: number): number;
|
|
8
|
+
lastIndexOf(searchString: string | number, position?: number): number;
|
|
9
|
+
startsWith(searchString: string, position?: number): boolean;
|
|
10
|
+
endsWith(searchString: string, endPosition?: number): boolean;
|
|
11
|
+
match(regexp: string | RegExp): RegExpMatchArray | null;
|
|
12
|
+
replace(searchValue: string | RegExp, replaceValue: string): string;
|
|
13
|
+
search(regexp: string | RegExp): number;
|
|
14
|
+
split(separator: string | RegExp, limit?: number): string[];
|
|
15
|
+
substring(start: number, end?: number): string;
|
|
16
|
+
trim(): string;
|
|
17
|
+
trimStart(): string;
|
|
18
|
+
trimEnd(): string;
|
|
19
|
+
charAt(pos: number): string;
|
|
20
|
+
charCodeAt(index: number): number;
|
|
21
|
+
padStart(maxLength: number, fillString?: string): string;
|
|
22
|
+
padEnd(maxLength: number, fillString?: string): string;
|
|
23
|
+
repeat(count: number): string;
|
|
24
|
+
toUpperCase(): string;
|
|
25
|
+
toLowerCase(): string;
|
|
26
|
+
private s;
|
|
27
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { $ShapeSerializer, $Codec, $ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "../JsonSettings";
|
|
4
|
+
export declare class JsonCodec2 extends SerdeContextConfig implements $Codec<Uint8Array, string> {
|
|
5
|
+
readonly settings: JsonSettings;
|
|
6
|
+
constructor(settings: JsonSettings);
|
|
7
|
+
createSerializer(): $ShapeSerializer<Uint8Array>;
|
|
8
|
+
createDeserializer(): $ShapeDeserializer<string>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
|
|
2
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
3
|
+
import { JsonSettings } from "../JsonSettings";
|
|
4
|
+
export declare class JsonShapeDeserializer2
|
|
5
|
+
extends SerdeContextConfig
|
|
6
|
+
implements ShapeDeserializer<string>
|
|
7
|
+
{
|
|
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
|
+
private _readStruct;
|
|
14
|
+
private needsTransform;
|
|
15
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
+
import { Schema, ShapeSerializer } from "@smithy/types";
|
|
3
|
+
import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
|
|
4
|
+
import { JsonSettings } from "../JsonSettings";
|
|
5
|
+
export declare class JsonShapeSerializer2
|
|
6
|
+
extends SerdeContextConfig
|
|
7
|
+
implements ShapeSerializer<Uint8Array>
|
|
8
|
+
{
|
|
9
|
+
readonly settings: JsonSettings;
|
|
10
|
+
private json;
|
|
11
|
+
private i;
|
|
12
|
+
private rootSchema;
|
|
13
|
+
private rawValue;
|
|
14
|
+
private passthrough;
|
|
15
|
+
constructor(settings: JsonSettings);
|
|
16
|
+
write(schema: Schema, value: unknown): void;
|
|
17
|
+
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
18
|
+
flush(): Uint8Array;
|
|
19
|
+
protected ensure(byteCount: number): void;
|
|
20
|
+
protected writeAscii(s: string): void;
|
|
21
|
+
protected writeAsciiQuoted(s: string): void;
|
|
22
|
+
protected writeJsonString(s: string): void;
|
|
23
|
+
protected writeUnicodeEscape(code: number): void;
|
|
24
|
+
protected static readonly B64: Uint8Array;
|
|
25
|
+
protected writeBase64(data: Uint8Array): void;
|
|
26
|
+
protected writeValue(
|
|
27
|
+
schema: Schema,
|
|
28
|
+
value: unknown,
|
|
29
|
+
container: NormalizedSchema | undefined,
|
|
30
|
+
): void;
|
|
31
|
+
protected writeStruct(ns: NormalizedSchema, value: Record<string, unknown>): void;
|
|
32
|
+
protected writeList(ns: NormalizedSchema, value: unknown[], isDocument?: boolean): void;
|
|
33
|
+
protected writeMap(
|
|
34
|
+
ns: NormalizedSchema,
|
|
35
|
+
value: Record<string, unknown>,
|
|
36
|
+
isDocument?: boolean,
|
|
37
|
+
): void;
|
|
38
|
+
protected writeTimestamp(ns: NormalizedSchema, value: Date): void;
|
|
39
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function detectBufferParsing(): boolean;
|
|
1
|
+
export declare function detectBufferParsing(): boolean;
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
}
|
|
1
|
+
export declare class JsonReplacer {
|
|
2
|
+
private readonly values;
|
|
3
|
+
private counter;
|
|
4
|
+
private stage;
|
|
5
|
+
createReplacer(): (key: string, value: unknown) => unknown;
|
|
6
|
+
replaceInJson(json: string): string;
|
|
7
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* @internal
|
|
10
|
-
*
|
|
11
|
-
* @returns transformed value.
|
|
12
|
-
*/
|
|
13
|
-
export declare function jsonReviver(key: string, value: any, context?: {
|
|
14
|
-
source?: string;
|
|
15
|
-
}): any;
|
|
1
|
+
export declare function jsonReviver(
|
|
2
|
+
key: string,
|
|
3
|
+
value: any,
|
|
4
|
+
context?: {
|
|
5
|
+
source?: string;
|
|
6
|
+
},
|
|
7
|
+
): any;
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
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;
|
|
1
|
+
import { Schema } from "@smithy/types";
|
|
2
|
+
export declare function needsReviver(schema: Schema): boolean;
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import { HttpResponse, Schema, SerdeFunctions } from "@smithy/types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
|
-
export declare const loadJsonRpcErrorCode: (output: HttpResponse, data: any, queryCompat?: boolean) => string | undefined;
|
|
1
|
+
import { HttpResponse, Schema, SerdeFunctions } from "@smithy/types";
|
|
2
|
+
export declare function parseJsonBody(streamBody: any, context: SerdeFunctions): Promise<any>;
|
|
3
|
+
export declare function parseJsonBody(
|
|
4
|
+
streamBody: any,
|
|
5
|
+
context: SerdeFunctions,
|
|
6
|
+
schema: Schema,
|
|
7
|
+
): Promise<any>;
|
|
8
|
+
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise<any>;
|
|
9
|
+
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
|
10
|
+
export declare const loadJsonRpcErrorCode: (
|
|
11
|
+
output: HttpResponse,
|
|
12
|
+
data: any,
|
|
13
|
+
queryCompat?: boolean,
|
|
14
|
+
) => string | undefined;
|
|
@@ -1,27 +1,18 @@
|
|
|
1
|
-
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { AwsQueryProtocol } from "./AwsQueryProtocol";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @override
|
|
21
|
-
*/
|
|
22
|
-
getShapeId(): string;
|
|
23
|
-
/**
|
|
24
|
-
* EC2 Query reads XResponse.XResult instead of XResponse directly.
|
|
25
|
-
*/
|
|
26
|
-
protected useNestedResult(): boolean;
|
|
27
|
-
}
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import { AwsQueryProtocol } from "./AwsQueryProtocol";
|
|
3
|
+
export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {
|
|
4
|
+
options: {
|
|
5
|
+
defaultNamespace: string;
|
|
6
|
+
xmlNamespace: string;
|
|
7
|
+
version: string;
|
|
8
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
9
|
+
};
|
|
10
|
+
constructor(options: {
|
|
11
|
+
defaultNamespace: string;
|
|
12
|
+
xmlNamespace: string;
|
|
13
|
+
version: string;
|
|
14
|
+
errorTypeRegistries?: TypeRegistry[];
|
|
15
|
+
});
|
|
16
|
+
getShapeId(): string;
|
|
17
|
+
protected useNestedResult(): boolean;
|
|
18
|
+
}
|