@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.
Files changed (228) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  11. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +66 -28
  12. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +133 -15
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
  17. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
  18. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
  19. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
  20. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
  21. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +5 -1
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +10 -1
  27. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +10 -0
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
  29. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.js +13 -15
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/ByteJsonShapeSerializer.js +27 -17
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +22 -3
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +41 -0
  33. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
  34. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/writeKey.js +3 -0
  35. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +0 -2
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
  50. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
  51. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/writeKey.d.ts +4 -0
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +7 -4
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +21 -61
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +27 -13
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +16 -4
  56. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -5
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +5 -16
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +11 -4
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +47 -107
  60. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +39 -112
  61. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +48 -107
  62. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +14 -13
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +35 -25
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +4 -14
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +6 -2
  66. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +5 -2
  67. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +5 -2
  68. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +6 -2
  69. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +10 -2
  70. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +6 -2
  71. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +20 -16
  72. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +44 -21
  73. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/constants.d.ts +7 -7
  74. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/encode-features.d.ts +5 -2
  75. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +18 -18
  76. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/awsRegionConfig.d.ts +11 -8
  77. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +16 -14
  78. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +4 -1
  79. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +14 -7
  80. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +4 -1
  81. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +7 -6
  82. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +12 -6
  83. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +7 -6
  84. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/aws.d.ts +2 -2
  85. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -4
  86. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +7 -2
  87. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +38 -28
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +638 -647
  89. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/isIpAddress.d.ts +1 -1
  90. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -29
  91. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveEndpoint.d.ts +1 -1
  92. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointError.d.ts +1 -1
  93. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -6
  94. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
  95. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
  96. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
  97. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/shared.d.ts +1 -12
  98. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +7 -4
  99. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +14 -7
  100. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -7
  101. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +27 -18
  102. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +18 -13
  103. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +8 -3
  104. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +28 -17
  105. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +6 -2
  106. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +5 -2
  107. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +13 -4
  108. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -9
  109. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +44 -37
  110. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -2
  111. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
  112. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
  114. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -23
  115. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -13
  116. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +133 -56
  117. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
  118. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +9 -24
  119. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -1
  120. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -1
  121. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +8 -1
  122. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -1
  123. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +26 -4
  124. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -3
  125. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -1
  126. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -5
  127. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +74 -40
  128. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -9
  129. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +25 -36
  130. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +18 -3
  131. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -5
  132. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +22 -27
  133. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +22 -21
  134. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +22 -21
  135. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +29 -49
  136. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -49
  137. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +19 -13
  138. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -13
  139. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -18
  140. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +7 -1
  141. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
  142. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -14
  143. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -30
  144. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -7
  145. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -7
  146. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
  147. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +22 -9
  148. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +27 -18
  149. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +49 -57
  150. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +13 -7
  151. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -21
  152. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -0
  153. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +31 -47
  154. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +14 -17
  155. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -15
  156. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -21
  157. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -4
  158. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +6 -1
  159. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +3 -3
  160. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts +32 -14
  161. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +2 -4
  162. package/node_modules/@aws-sdk/core/package.json +10 -6
  163. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  164. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  165. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  166. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  167. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  168. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  169. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  170. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  171. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  172. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  173. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  174. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  175. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  176. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -0
  193. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +2 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -0
  206. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  207. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  208. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  209. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +14 -4
  210. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +14 -4
  211. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  212. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
  213. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +1 -0
  214. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +1 -0
  215. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
  216. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
  217. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
  218. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +1 -1
  219. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -0
  220. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +2 -2
  221. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/constants.d.ts +1 -0
  222. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +1 -0
  223. package/node_modules/@smithy/core/package.json +1 -1
  224. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  225. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  226. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  227. package/node_modules/@smithy/signature-v4/package.json +2 -2
  228. 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
- parseJsonBody,
14
- parseJsonErrorBody,
15
- loadRestJsonErrorCode,
16
- loadJsonRpcErrorCode,
17
- } from "./json/parseJsonBody";
18
- export { AwsEc2QueryProtocol } from "./query/AwsEc2QueryProtocol";
19
- export { AwsQueryProtocol } from "./query/AwsQueryProtocol";
20
- export { QuerySerializerSettings } from "./query/QuerySerializerSettings";
21
- export { QueryShapeSerializer } from "./query/QueryShapeSerializer";
22
- export { AwsRestXmlProtocol } from "./xml/AwsRestXmlProtocol";
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
- 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
+ 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
- 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
+ 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
- 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 "./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
+ 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
- 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 "./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
- }
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
+ }
@@ -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
- export type JsonSettings = CodecSettings & {
6
- jsonName: boolean;
7
- };
8
- export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> {
9
- readonly settings: JsonSettings;
10
- constructor(settings: JsonSettings);
11
- createSerializer(): JsonShapeSerializer;
12
- createDeserializer(): JsonShapeDeserializer;
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
- 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
- }
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
- 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
- }
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
+ }
@@ -1 +1,7 @@
1
- export declare const awsExpectUnion: (value: unknown) => Record<string, any> | undefined;
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
- export declare class BufferJsonShapeDeserializer
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
- }
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
- export declare class ByteJsonShapeSerializer
5
- extends SerdeContextConfig
6
- implements ShapeSerializer<Uint8Array>
7
- {
8
- readonly settings: JsonSettings;
9
- private json;
10
- private i;
11
- private rootSchema;
12
- private readonly sizeHistory;
13
- private sizeHistoryIndex;
14
- constructor(settings: JsonSettings);
15
- write(schema: Schema, value: unknown): void;
16
- writeDiscriminatedDocument(schema: Schema, value: unknown): void;
17
- flush(): Uint8Array;
18
- private ensure;
19
- private writeAscii;
20
- private writeAsciiQuoted;
21
- private writeJsonString;
22
- private writeUnicodeEscape;
23
- private static readonly B64;
24
- private writeBase64;
25
- private writeValue;
26
- private writeStruct;
27
- private writeList;
28
- private writeMap;
29
- private writeTimestamp;
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
+ }
@@ -1,7 +1,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
- }
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
+ }
@@ -1,7 +1,15 @@
1
- export declare function jsonReviver(
2
- key: string,
3
- value: any,
4
- context?: {
5
- source?: string;
6
- },
7
- ): any;
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;
@@ -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;