@mavogel/awscdk-rootmail 0.0.319 → 0.0.321

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 (735) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
  5. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -0
  6. package/node_modules/@aws-sdk/client-route-53/dist-es/models/models_0.js +3 -0
  7. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/AssociateVPCWithHostedZoneCommand.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ChangeResourceRecordSetsCommand.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHealthCheckCommand.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateHostedZoneCommand.d.ts +2 -2
  11. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/CreateVPCAssociationAuthorizationCommand.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DeleteVPCAssociationAuthorizationCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/DisassociateVPCFromHostedZoneCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHealthCheckCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/GetHostedZoneCommand.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHealthChecksCommand.d.ts +1 -1
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListHostedZonesByVPCCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListResourceRecordSetsCommand.d.ts +1 -1
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/ListVPCAssociationAuthorizationsCommand.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/commands/UpdateHealthCheckCommand.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +7 -4
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/models/models_0.d.ts +3 -0
  23. package/node_modules/@aws-sdk/client-route-53/package.json +19 -19
  24. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-s3/package.json +32 -32
  26. package/node_modules/@aws-sdk/client-ses/package.json +17 -17
  27. package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
  28. package/node_modules/@aws-sdk/client-sso/package.json +16 -16
  29. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +366 -226
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +95 -0
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +39 -0
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
  33. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  34. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
  35. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
  36. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +19 -29
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +10 -54
  38. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +13 -34
  39. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -62
  40. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +3 -3
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +57 -0
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -1
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -1
  46. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +6 -3
  47. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -1
  48. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -2
  49. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  50. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +39 -0
  51. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -0
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -0
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +5 -1
  56. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +2 -1
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  59. package/node_modules/@aws-sdk/core/package.json +6 -6
  60. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  61. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +3 -1
  62. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +3 -1
  63. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  64. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  65. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +1 -1
  66. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +3 -1
  67. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  68. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  70. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  71. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
  72. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +3 -3
  73. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +6 -6
  74. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  76. package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
  77. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  78. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  79. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  80. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +13 -9
  81. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +15 -10
  82. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +9 -9
  83. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  84. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  85. package/node_modules/@aws-sdk/nested-clients/package.json +16 -16
  86. package/node_modules/@aws-sdk/region-config-resolver/package.json +1 -1
  87. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  88. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  89. package/node_modules/@aws-sdk/util-arn-parser/package.json +1 -1
  90. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +36 -33
  91. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +36 -33
  92. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +36 -33
  93. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  94. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
  95. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  96. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  97. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +15 -15
  98. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
  99. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
  100. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
  101. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  102. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
  103. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
  104. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  105. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
  106. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
  107. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
  108. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
  109. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
  110. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
  111. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/LICENSE +201 -0
  112. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/README.md +4 -0
  113. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -0
  114. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/index.js +60 -0
  115. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -0
  116. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -0
  117. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js +9 -0
  118. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/index.js +3 -0
  119. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js +9 -0
  120. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-es/types.js +5 -0
  121. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +10 -0
  122. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/index.d.ts +3 -0
  123. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +9 -0
  124. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts +10 -0
  125. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts +3 -0
  126. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts +9 -0
  127. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts +4 -0
  128. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/dist-types/types.d.ts +4 -0
  129. package/node_modules/@smithy/config-resolver/node_modules/@smithy/util-config-provider/package.json +63 -0
  130. package/node_modules/@smithy/config-resolver/package.json +6 -5
  131. package/node_modules/@smithy/core/dist-cjs/index.js +10 -11
  132. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +47 -18
  133. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +261 -0
  134. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +137 -42
  135. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +28 -3
  136. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +5 -5
  137. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
  138. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
  139. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +36 -15
  140. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
  141. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  142. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +200 -0
  143. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
  144. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +11 -26
  145. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +36 -0
  146. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +36 -10
  147. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  148. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +17 -0
  149. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -2
  150. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  151. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
  152. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
  153. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  154. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
  155. package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
  156. package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
  157. package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
  158. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +6 -2
  159. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -1
  160. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
  161. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
  162. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
  163. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  164. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
  165. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  166. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +39 -1
  167. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
  168. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
  169. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  170. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +1 -1
  171. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +1 -1
  172. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +1 -1
  173. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +1 -1
  174. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
  175. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  176. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
  177. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
  178. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
  179. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
  180. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +1 -1
  181. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +1 -1
  182. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  183. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -1
  184. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +1 -0
  185. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
  186. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  187. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
  188. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +39 -1
  189. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  190. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
  191. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +10 -0
  192. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
  193. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
  194. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
  195. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
  196. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
  197. package/node_modules/@smithy/core/event-streams.d.ts +7 -0
  198. package/node_modules/@smithy/core/event-streams.js +6 -0
  199. package/node_modules/@smithy/core/package.json +19 -9
  200. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +3 -3
  201. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
  202. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +3 -2
  203. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
  204. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +2 -1
  205. package/node_modules/@smithy/fetch-http-handler/package.json +9 -8
  206. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  207. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/README.md +10 -0
  208. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  209. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  210. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  211. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  212. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-buffer-from/package.json +61 -0
  213. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -5
  214. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
  215. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
  216. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
  217. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
  218. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
  219. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +1 -1
  220. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
  221. package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
  222. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  223. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  224. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
  225. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
  226. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
  227. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  228. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
  229. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  230. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  231. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
  232. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  233. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
  234. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  235. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  236. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  237. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  238. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  239. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  240. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  241. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  242. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  243. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  244. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  245. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  246. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  247. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  248. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  249. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  250. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  251. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  252. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  253. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  254. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  255. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  256. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  257. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  258. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  259. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  260. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  261. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  262. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  263. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  264. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  265. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  266. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  267. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  268. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  269. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  270. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  271. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  272. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  273. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  274. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  275. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  276. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  277. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  278. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  279. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  280. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  281. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  282. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  283. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  284. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  285. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  286. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  287. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  288. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  289. package/node_modules/@smithy/middleware-endpoint/package.json +9 -8
  290. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +33 -47
  291. package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
  292. package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
  293. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
  294. package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
  295. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
  296. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
  297. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
  298. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
  299. package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
  300. package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
  301. package/node_modules/@smithy/middleware-retry/package.json +11 -10
  302. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -5
  303. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
  304. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
  305. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
  306. package/node_modules/@smithy/middleware-serde/package.json +6 -5
  307. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +25 -30
  308. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
  309. package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
  310. package/node_modules/@smithy/middleware-stack/package.json +3 -2
  311. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +3 -3
  312. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
  313. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
  314. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
  315. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
  316. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  317. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  318. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  319. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  320. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  321. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  322. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  323. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  324. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  325. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  326. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  327. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  328. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  329. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  330. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  331. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  332. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  333. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  334. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  335. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  336. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  337. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  338. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  339. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  340. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  341. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  342. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  343. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  344. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  345. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  346. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
  347. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  348. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  349. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -0
  350. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -0
  351. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -0
  352. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  353. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -0
  354. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  355. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +12 -0
  356. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -0
  357. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +206 -0
  358. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -0
  359. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -0
  360. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -0
  361. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -0
  362. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -0
  363. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +13 -0
  364. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -0
  365. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  366. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  367. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  368. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  369. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  370. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  371. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +8 -0
  372. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  373. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +8 -0
  374. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  375. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  376. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  377. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  378. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  379. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +9 -0
  380. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  381. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  382. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  383. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  384. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  385. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  386. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  387. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +46 -0
  388. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  389. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +8 -0
  390. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  391. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  392. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  393. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  394. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  395. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -0
  396. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  397. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  398. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  399. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  400. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  401. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  402. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +46 -0
  403. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  404. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +8 -0
  405. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  406. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  407. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  408. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  409. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  410. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +5 -0
  411. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  412. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  413. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  414. package/node_modules/@smithy/node-config-provider/package.json +5 -4
  415. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +5 -5
  416. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
  417. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +3 -2
  418. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
  419. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
  420. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +3 -2
  421. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
  422. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
  423. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  424. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  425. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  426. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
  427. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
  428. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +2 -1
  429. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +2 -1
  430. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
  431. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
  432. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +3 -3
  433. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  434. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  435. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
  436. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
  437. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
  438. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  439. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  440. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  441. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  442. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  443. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  444. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  445. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  446. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  447. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
  448. package/node_modules/@smithy/node-http-handler/package.json +6 -5
  449. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
  450. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
  451. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
  452. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
  453. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
  454. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
  455. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
  456. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
  457. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
  458. package/node_modules/@smithy/protocol-http/package.json +3 -2
  459. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +3 -3
  460. package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
  461. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
  462. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/README.md +10 -0
  463. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
  464. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
  465. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
  466. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
  467. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
  468. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
  469. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
  470. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
  471. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
  472. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
  473. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
  474. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
  475. package/node_modules/@smithy/querystring-builder/node_modules/@smithy/util-uri-escape/package.json +60 -0
  476. package/node_modules/@smithy/querystring-builder/package.json +4 -3
  477. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +3 -3
  478. package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
  479. package/node_modules/@smithy/querystring-parser/package.json +3 -2
  480. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +3 -3
  481. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
  482. package/node_modules/@smithy/service-error-classification/package.json +3 -2
  483. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +55 -21
  484. package/node_modules/@smithy/smithy-client/dist-cjs/schemaLogFilter.js +1 -0
  485. package/node_modules/@smithy/smithy-client/dist-es/command.js +7 -4
  486. package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
  487. package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
  488. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +1 -1
  489. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +1 -1
  490. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
  491. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  492. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
  493. package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
  494. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
  495. package/node_modules/@smithy/smithy-client/package.json +8 -7
  496. package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
  497. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
  498. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
  499. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
  500. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
  501. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
  502. package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
  503. package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
  504. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
  505. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
  506. package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
  507. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  508. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
  509. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
  510. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
  511. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
  512. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
  513. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
  514. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
  515. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
  516. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  517. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
  518. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +2 -2
  519. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  520. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
  521. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
  522. package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
  523. package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
  524. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -0
  525. package/node_modules/@smithy/types/dist-types/serde.d.ts +4 -4
  526. package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
  527. package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
  528. package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
  529. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -0
  530. package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
  531. package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
  532. package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
  533. package/node_modules/@smithy/types/package.json +2 -1
  534. package/node_modules/@smithy/url-parser/dist-cjs/index.js +3 -3
  535. package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
  536. package/node_modules/@smithy/url-parser/package.json +4 -3
  537. package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -4
  538. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
  539. package/node_modules/@smithy/util-base64/package.json +7 -6
  540. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +6 -9
  541. package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
  542. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +3 -3
  543. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  544. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/README.md +10 -0
  545. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  546. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  547. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  548. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  549. package/node_modules/@smithy/util-buffer-from/node_modules/@smithy/is-array-buffer/package.json +61 -0
  550. package/node_modules/@smithy/util-buffer-from/package.json +6 -5
  551. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -3
  552. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  553. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  554. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  555. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  556. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  557. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  558. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  559. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  560. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  561. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  562. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  563. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  564. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  565. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  566. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  567. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  568. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  569. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  570. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  571. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  572. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  573. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  574. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  575. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  576. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  577. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  578. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  579. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  580. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  581. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  582. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
  583. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -4
  584. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +7 -7
  585. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
  586. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
  587. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
  588. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -0
  589. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -0
  590. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -0
  591. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -0
  592. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -0
  593. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -0
  594. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -0
  595. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +444 -0
  596. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -0
  597. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -0
  598. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -0
  599. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -0
  600. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -0
  601. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -0
  602. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -0
  603. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -0
  604. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -0
  605. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
  606. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
  607. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
  608. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
  609. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +9 -0
  610. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
  611. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
  612. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
  613. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
  614. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
  615. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
  616. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
  617. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
  618. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
  619. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
  620. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
  621. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
  622. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
  623. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
  624. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
  625. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
  626. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  627. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
  628. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
  629. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
  630. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
  631. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
  632. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
  633. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
  634. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
  635. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
  636. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
  637. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
  638. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
  639. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  640. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
  641. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
  642. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
  643. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
  644. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
  645. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
  646. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
  647. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
  648. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
  649. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  650. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  651. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
  652. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
  653. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  654. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  655. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
  656. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  657. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  658. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  659. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
  660. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
  661. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
  662. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
  663. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
  664. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
  665. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
  666. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  667. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
  668. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  669. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  670. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  671. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  672. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  673. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  674. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  675. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  676. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  677. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  678. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  679. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  680. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  681. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  682. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  683. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  684. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  685. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  686. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  687. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
  688. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -7
  689. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +4 -5
  690. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
  691. package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
  692. package/node_modules/@smithy/util-middleware/package.json +3 -2
  693. package/node_modules/@smithy/util-retry/dist-cjs/index.js +3 -3
  694. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
  695. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
  696. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  697. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
  698. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  699. package/node_modules/@smithy/util-retry/package.json +4 -3
  700. package/node_modules/@smithy/util-stream/dist-cjs/index.js +11 -11
  701. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
  702. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +3 -2
  703. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +1 -1
  704. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +3 -3
  705. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
  706. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +1 -1
  707. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
  708. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
  709. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  710. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +2 -1
  711. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/LICENSE +201 -0
  712. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/README.md +4 -0
  713. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +67 -0
  714. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-es/index.js +33 -0
  715. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts +12 -0
  716. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts +12 -0
  717. package/node_modules/@smithy/util-stream/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  718. package/node_modules/@smithy/util-stream/package.json +13 -12
  719. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +3 -3
  720. package/node_modules/@smithy/util-utf8/package.json +6 -5
  721. package/node_modules/cdk-nag/.jsii +4 -4
  722. package/node_modules/cdk-nag/README.md +1 -1
  723. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  724. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  725. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  726. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  727. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  728. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  729. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  730. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  731. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  732. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  733. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  734. package/node_modules/cdk-nag/package.json +4 -4
  735. package/package.json +1 -1
@@ -0,0 +1,95 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
3
+ export class ProtocolLib {
4
+ calculateContentLength(body, serdeContext) {
5
+ const bodyLengthCalculator = serdeContext?.bodyLengthChecker ?? calculateBodyLength;
6
+ return String(bodyLengthCalculator(body));
7
+ }
8
+ resolveRestContentType(defaultContentType, inputSchema) {
9
+ const members = inputSchema.getMemberSchemas();
10
+ const httpPayloadMember = Object.values(members).find((m) => {
11
+ return !!m.getMergedTraits().httpPayload;
12
+ });
13
+ if (httpPayloadMember) {
14
+ const mediaType = httpPayloadMember.getMergedTraits().mediaType;
15
+ if (mediaType) {
16
+ return mediaType;
17
+ }
18
+ else if (httpPayloadMember.isStringSchema()) {
19
+ return "text/plain";
20
+ }
21
+ else if (httpPayloadMember.isBlobSchema()) {
22
+ return "application/octet-stream";
23
+ }
24
+ else {
25
+ return defaultContentType;
26
+ }
27
+ }
28
+ else if (!inputSchema.isUnitSchema()) {
29
+ const hasBody = Object.values(members).find((m) => {
30
+ const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
31
+ const noPrefixHeaders = httpPrefixHeaders === void 0;
32
+ return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;
33
+ });
34
+ if (hasBody) {
35
+ return defaultContentType;
36
+ }
37
+ }
38
+ }
39
+ async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
40
+ let namespace = defaultNamespace;
41
+ let errorName = errorIdentifier;
42
+ if (errorIdentifier.includes("#")) {
43
+ [namespace, errorName] = errorIdentifier.split("#");
44
+ }
45
+ const errorMetadata = {
46
+ $metadata: metadata,
47
+ $response: response,
48
+ $fault: response.statusCode < 500 ? "client" : "server",
49
+ };
50
+ const registry = TypeRegistry.for(namespace);
51
+ try {
52
+ const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
53
+ return { errorSchema, errorMetadata };
54
+ }
55
+ catch (e) {
56
+ if (dataObject.Message) {
57
+ dataObject.message = dataObject.Message;
58
+ }
59
+ const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
60
+ if (baseExceptionSchema) {
61
+ const ErrorCtor = baseExceptionSchema.ctor;
62
+ throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
63
+ }
64
+ throw Object.assign(new Error(errorName), errorMetadata, dataObject);
65
+ }
66
+ }
67
+ setQueryCompatError(output, response) {
68
+ const queryErrorHeader = response.headers?.["x-amzn-query-error"];
69
+ if (output !== undefined && queryErrorHeader != null) {
70
+ const [Code, Type] = queryErrorHeader.split(";");
71
+ const entries = Object.entries(output);
72
+ const Error = {
73
+ Code,
74
+ Type,
75
+ };
76
+ Object.assign(output, Error);
77
+ for (const [k, v] of entries) {
78
+ Error[k] = v;
79
+ }
80
+ delete Error.__type;
81
+ output.Error = Error;
82
+ }
83
+ }
84
+ queryCompatOutput(queryCompatErrorData, errorData) {
85
+ if (queryCompatErrorData.Error) {
86
+ errorData.Error = queryCompatErrorData.Error;
87
+ }
88
+ if (queryCompatErrorData.Type) {
89
+ errorData.Type = queryCompatErrorData.Type;
90
+ }
91
+ if (queryCompatErrorData.Code) {
92
+ errorData.Code = queryCompatErrorData.Code;
93
+ }
94
+ }
95
+ }
@@ -0,0 +1,39 @@
1
+ import { loadSmithyRpcV2CborErrorCode, SmithyRpcV2CborProtocol } from "@smithy/core/cbor";
2
+ import { NormalizedSchema } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
+ export class AwsSmithyRpcV2CborProtocol extends SmithyRpcV2CborProtocol {
5
+ awsQueryCompatible;
6
+ mixin = new ProtocolLib();
7
+ constructor({ defaultNamespace, awsQueryCompatible, }) {
8
+ super({ defaultNamespace });
9
+ this.awsQueryCompatible = !!awsQueryCompatible;
10
+ }
11
+ async serializeRequest(operationSchema, input, context) {
12
+ const request = await super.serializeRequest(operationSchema, input, context);
13
+ if (this.awsQueryCompatible) {
14
+ request.headers["x-amzn-query-mode"] = "true";
15
+ }
16
+ return request;
17
+ }
18
+ async handleError(operationSchema, context, response, dataObject, metadata) {
19
+ if (this.awsQueryCompatible) {
20
+ this.mixin.setQueryCompatError(dataObject, response);
21
+ }
22
+ const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
23
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata);
24
+ const ns = NormalizedSchema.of(errorSchema);
25
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
26
+ const exception = new errorSchema.ctor(message);
27
+ const output = {};
28
+ for (const [name, member] of ns.structIterator()) {
29
+ output[name] = this.deserializer.readValue(member, dataObject[name]);
30
+ }
31
+ if (this.awsQueryCompatible) {
32
+ this.mixin.queryCompatOutput(dataObject, output);
33
+ }
34
+ throw Object.assign(exception, errorMetadata, {
35
+ $fault: ns.getMergedTraits().error,
36
+ message,
37
+ }, output);
38
+ }
39
+ }
@@ -1,2 +1,3 @@
1
1
  import { collectBody } from "@smithy/smithy-client";
2
- export const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2
+ import { toUtf8 } from "@smithy/util-utf8";
3
+ export const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));
@@ -1,3 +1,4 @@
1
+ export * from "./cbor/AwsSmithyRpcV2CborProtocol";
1
2
  export * from "./coercing-serializers";
2
3
  export * from "./json/AwsJson1_0Protocol";
3
4
  export * from "./json/AwsJson1_1Protocol";
@@ -1,9 +1,10 @@
1
1
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
2
  export class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
3
- constructor({ defaultNamespace, serviceTarget }) {
3
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
4
4
  super({
5
5
  defaultNamespace,
6
6
  serviceTarget,
7
+ awsQueryCompatible,
7
8
  });
8
9
  }
9
10
  getShapeId() {
@@ -1,9 +1,10 @@
1
1
  import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
2
  export class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
3
- constructor({ defaultNamespace, serviceTarget }) {
3
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
4
4
  super({
5
5
  defaultNamespace,
6
6
  serviceTarget,
7
+ awsQueryCompatible,
7
8
  });
8
9
  }
9
10
  getShapeId() {
@@ -1,6 +1,6 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
- import { deref, NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
2
+ import { deref, NormalizedSchema, SCHEMA } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
4
  import { JsonCodec } from "./JsonCodec";
5
5
  import { loadRestJsonErrorCode } from "./parseJsonBody";
6
6
  export class AwsJsonRpcProtocol extends RpcProtocol {
@@ -8,7 +8,9 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
8
8
  deserializer;
9
9
  serviceTarget;
10
10
  codec;
11
- constructor({ defaultNamespace, serviceTarget }) {
11
+ mixin = new ProtocolLib();
12
+ awsQueryCompatible;
13
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, }) {
12
14
  super({
13
15
  defaultNamespace,
14
16
  });
@@ -22,6 +24,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
22
24
  });
23
25
  this.serializer = this.codec.createSerializer();
24
26
  this.deserializer = this.codec.createDeserializer();
27
+ this.awsQueryCompatible = !!awsQueryCompatible;
25
28
  }
26
29
  async serializeRequest(operationSchema, input, context) {
27
30
  const request = await super.serializeRequest(operationSchema, input, context);
@@ -32,11 +35,14 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
32
35
  "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
33
36
  "x-amz-target": `${this.serviceTarget}.${NormalizedSchema.of(operationSchema).getName()}`,
34
37
  });
38
+ if (this.awsQueryCompatible) {
39
+ request.headers["x-amzn-query-mode"] = "true";
40
+ }
35
41
  if (deref(operationSchema.input) === "unit" || !request.body) {
36
42
  request.body = "{}";
37
43
  }
38
44
  try {
39
- request.headers["content-length"] = String(calculateBodyLength(request.body));
45
+ request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
40
46
  }
41
47
  catch (e) { }
42
48
  return request;
@@ -45,41 +51,25 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
45
51
  return this.codec;
46
52
  }
47
53
  async handleError(operationSchema, context, response, dataObject, metadata) {
48
- const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
49
- let namespace = this.options.defaultNamespace;
50
- let errorName = errorIdentifier;
51
- if (errorIdentifier.includes("#")) {
52
- [namespace, errorName] = errorIdentifier.split("#");
53
- }
54
- const registry = TypeRegistry.for(namespace);
55
- let errorSchema;
56
- try {
57
- errorSchema = registry.getSchema(errorIdentifier);
58
- }
59
- catch (e) {
60
- const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
61
- if (baseExceptionSchema) {
62
- const ErrorCtor = baseExceptionSchema.ctor;
63
- throw Object.assign(new ErrorCtor(errorName), dataObject);
64
- }
65
- throw new Error(errorName);
54
+ if (this.awsQueryCompatible) {
55
+ this.mixin.setQueryCompatError(dataObject, response);
66
56
  }
57
+ const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
58
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
67
59
  const ns = NormalizedSchema.of(errorSchema);
68
60
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
69
61
  const exception = new errorSchema.ctor(message);
70
- await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
71
62
  const output = {};
72
63
  for (const [name, member] of ns.structIterator()) {
73
64
  const target = member.getMergedTraits().jsonName ?? name;
74
65
  output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
75
66
  }
76
- Object.assign(exception, {
77
- $metadata: metadata,
78
- $response: response,
67
+ if (this.awsQueryCompatible) {
68
+ this.mixin.queryCompatOutput(dataObject, output);
69
+ }
70
+ throw Object.assign(exception, errorMetadata, {
79
71
  $fault: ns.getMergedTraits().error,
80
72
  message,
81
- ...output,
82
- });
83
- throw exception;
73
+ }, output);
84
74
  }
85
75
  }
@@ -1,12 +1,13 @@
1
1
  import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";
2
- import { NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
2
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
4
  import { JsonCodec } from "./JsonCodec";
5
5
  import { loadRestJsonErrorCode } from "./parseJsonBody";
6
6
  export class AwsRestJsonProtocol extends HttpBindingProtocol {
7
7
  serializer;
8
8
  deserializer;
9
9
  codec;
10
+ mixin = new ProtocolLib();
10
11
  constructor({ defaultNamespace }) {
11
12
  super({
12
13
  defaultNamespace,
@@ -36,34 +37,10 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
36
37
  async serializeRequest(operationSchema, input, context) {
37
38
  const request = await super.serializeRequest(operationSchema, input, context);
38
39
  const inputSchema = NormalizedSchema.of(operationSchema.input);
39
- const members = inputSchema.getMemberSchemas();
40
40
  if (!request.headers["content-type"]) {
41
- const httpPayloadMember = Object.values(members).find((m) => {
42
- return !!m.getMergedTraits().httpPayload;
43
- });
44
- if (httpPayloadMember) {
45
- const mediaType = httpPayloadMember.getMergedTraits().mediaType;
46
- if (mediaType) {
47
- request.headers["content-type"] = mediaType;
48
- }
49
- else if (httpPayloadMember.isStringSchema()) {
50
- request.headers["content-type"] = "text/plain";
51
- }
52
- else if (httpPayloadMember.isBlobSchema()) {
53
- request.headers["content-type"] = "application/octet-stream";
54
- }
55
- else {
56
- request.headers["content-type"] = this.getDefaultContentType();
57
- }
58
- }
59
- else if (!inputSchema.isUnitSchema()) {
60
- const hasBody = Object.values(members).find((m) => {
61
- const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
62
- return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
63
- });
64
- if (hasBody) {
65
- request.headers["content-type"] = this.getDefaultContentType();
66
- }
41
+ const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
42
+ if (contentType) {
43
+ request.headers["content-type"] = contentType;
67
44
  }
68
45
  }
69
46
  if (request.headers["content-type"] && !request.body) {
@@ -71,7 +48,7 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
71
48
  }
72
49
  if (request.body) {
73
50
  try {
74
- request.headers["content-length"] = String(calculateBodyLength(request.body));
51
+ request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
75
52
  }
76
53
  catch (e) { }
77
54
  }
@@ -79,24 +56,7 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
79
56
  }
80
57
  async handleError(operationSchema, context, response, dataObject, metadata) {
81
58
  const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
82
- let namespace = this.options.defaultNamespace;
83
- let errorName = errorIdentifier;
84
- if (errorIdentifier.includes("#")) {
85
- [namespace, errorName] = errorIdentifier.split("#");
86
- }
87
- const registry = TypeRegistry.for(namespace);
88
- let errorSchema;
89
- try {
90
- errorSchema = registry.getSchema(errorIdentifier);
91
- }
92
- catch (e) {
93
- const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
94
- if (baseExceptionSchema) {
95
- const ErrorCtor = baseExceptionSchema.ctor;
96
- throw Object.assign(new ErrorCtor(errorName), dataObject);
97
- }
98
- throw new Error(errorName);
99
- }
59
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
100
60
  const ns = NormalizedSchema.of(errorSchema);
101
61
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
102
62
  const exception = new errorSchema.ctor(message);
@@ -106,14 +66,10 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
106
66
  const target = member.getMergedTraits().jsonName ?? name;
107
67
  output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
108
68
  }
109
- Object.assign(exception, {
110
- $metadata: metadata,
111
- $response: response,
69
+ throw Object.assign(exception, errorMetadata, {
112
70
  $fault: ns.getMergedTraits().error,
113
71
  message,
114
- ...output,
115
- });
116
- throw exception;
72
+ }, output);
117
73
  }
118
74
  getDefaultContentType() {
119
75
  return "application/json";
@@ -1,12 +1,13 @@
1
1
  import { collectBody, RpcProtocol } from "@smithy/core/protocols";
2
- import { deref, NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
2
+ import { deref, NormalizedSchema, SCHEMA } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
4
  import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer";
5
5
  import { QueryShapeSerializer } from "./QueryShapeSerializer";
6
6
  export class AwsQueryProtocol extends RpcProtocol {
7
7
  options;
8
8
  serializer;
9
9
  deserializer;
10
+ mixin = new ProtocolLib();
10
11
  constructor(options) {
11
12
  super({
12
13
  defaultNamespace: options.defaultNamespace,
@@ -46,12 +47,13 @@ export class AwsQueryProtocol extends RpcProtocol {
46
47
  if (deref(operationSchema.input) === "unit" || !request.body) {
47
48
  request.body = "";
48
49
  }
49
- request.body = `Action=${operationSchema.name.split("#")[1]}&Version=${this.options.version}` + request.body;
50
+ const action = operationSchema.name.split("#")[1] ?? operationSchema.name;
51
+ request.body = `Action=${action}&Version=${this.options.version}` + request.body;
50
52
  if (request.body.endsWith("&")) {
51
53
  request.body = request.body.slice(-1);
52
54
  }
53
55
  try {
54
- request.headers["content-length"] = String(calculateBodyLength(request.body));
56
+ request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
55
57
  }
56
58
  catch (e) { }
57
59
  return request;
@@ -72,7 +74,8 @@ export class AwsQueryProtocol extends RpcProtocol {
72
74
  delete response.headers[header];
73
75
  response.headers[header.toLowerCase()] = value;
74
76
  }
75
- const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split("#")[1] + "Result" : undefined;
77
+ const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name;
78
+ const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined;
76
79
  const bytes = await collectBody(response.body, context);
77
80
  if (bytes.byteLength > 0) {
78
81
  Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
@@ -88,45 +91,21 @@ export class AwsQueryProtocol extends RpcProtocol {
88
91
  }
89
92
  async handleError(operationSchema, context, response, dataObject, metadata) {
90
93
  const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
91
- let namespace = this.options.defaultNamespace;
92
- let errorName = errorIdentifier;
93
- if (errorIdentifier.includes("#")) {
94
- [namespace, errorName] = errorIdentifier.split("#");
95
- }
96
- const errorDataSource = this.loadQueryError(dataObject);
97
- const registry = TypeRegistry.for(namespace);
98
- let errorSchema;
99
- try {
100
- errorSchema = registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName);
101
- if (!errorSchema) {
102
- errorSchema = registry.getSchema(errorIdentifier);
103
- }
104
- }
105
- catch (e) {
106
- const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
107
- if (baseExceptionSchema) {
108
- const ErrorCtor = baseExceptionSchema.ctor;
109
- throw Object.assign(new ErrorCtor(errorName), errorDataSource);
110
- }
111
- throw new Error(errorName);
112
- }
94
+ const errorData = this.loadQueryError(dataObject);
95
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, (registry, errorName) => registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName));
113
96
  const ns = NormalizedSchema.of(errorSchema);
114
97
  const message = this.loadQueryErrorMessage(dataObject);
115
98
  const exception = new errorSchema.ctor(message);
116
99
  const output = {};
117
100
  for (const [name, member] of ns.structIterator()) {
118
101
  const target = member.getMergedTraits().xmlName ?? name;
119
- const value = errorDataSource[target] ?? dataObject[target];
102
+ const value = errorData[target] ?? dataObject[target];
120
103
  output[name] = this.deserializer.readSchema(member, value);
121
104
  }
122
- Object.assign(exception, {
123
- $metadata: metadata,
124
- $response: response,
105
+ throw Object.assign(exception, errorMetadata, {
125
106
  $fault: ns.getMergedTraits().error,
126
107
  message,
127
- ...output,
128
- });
129
- throw exception;
108
+ }, output);
130
109
  }
131
110
  loadQueryErrorCode(output, data) {
132
111
  const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
@@ -1,12 +1,13 @@
1
1
  import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";
2
- import { NormalizedSchema, SCHEMA, TypeRegistry } from "@smithy/core/schema";
3
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
2
+ import { NormalizedSchema, SCHEMA } from "@smithy/core/schema";
3
+ import { ProtocolLib } from "../ProtocolLib";
4
4
  import { loadRestXmlErrorCode } from "./parseXmlBody";
5
5
  import { XmlCodec } from "./XmlCodec";
6
6
  export class AwsRestXmlProtocol extends HttpBindingProtocol {
7
7
  codec;
8
8
  serializer;
9
9
  deserializer;
10
+ mixin = new ProtocolLib();
10
11
  constructor(options) {
11
12
  super(options);
12
13
  const settings = {
@@ -30,42 +31,11 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
30
31
  }
31
32
  async serializeRequest(operationSchema, input, context) {
32
33
  const request = await super.serializeRequest(operationSchema, input, context);
33
- const ns = NormalizedSchema.of(operationSchema.input);
34
- const members = ns.getMemberSchemas();
35
- request.path =
36
- String(request.path)
37
- .split("/")
38
- .filter((segment) => {
39
- return segment !== "{Bucket}";
40
- })
41
- .join("/") || "/";
34
+ const inputSchema = NormalizedSchema.of(operationSchema.input);
42
35
  if (!request.headers["content-type"]) {
43
- const httpPayloadMember = Object.values(members).find((m) => {
44
- return !!m.getMergedTraits().httpPayload;
45
- });
46
- if (httpPayloadMember) {
47
- const mediaType = httpPayloadMember.getMergedTraits().mediaType;
48
- if (mediaType) {
49
- request.headers["content-type"] = mediaType;
50
- }
51
- else if (httpPayloadMember.isStringSchema()) {
52
- request.headers["content-type"] = "text/plain";
53
- }
54
- else if (httpPayloadMember.isBlobSchema()) {
55
- request.headers["content-type"] = "application/octet-stream";
56
- }
57
- else {
58
- request.headers["content-type"] = this.getDefaultContentType();
59
- }
60
- }
61
- else if (!ns.isUnitSchema()) {
62
- const hasBody = Object.values(members).find((m) => {
63
- const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
64
- return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
65
- });
66
- if (hasBody) {
67
- request.headers["content-type"] = this.getDefaultContentType();
68
- }
36
+ const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
37
+ if (contentType) {
38
+ request.headers["content-type"] = contentType;
69
39
  }
70
40
  }
71
41
  if (request.headers["content-type"] === this.getDefaultContentType()) {
@@ -75,7 +45,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
75
45
  }
76
46
  if (request.body) {
77
47
  try {
78
- request.headers["content-length"] = String(calculateBodyLength(request.body));
48
+ request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
79
49
  }
80
50
  catch (e) { }
81
51
  }
@@ -86,24 +56,7 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
86
56
  }
87
57
  async handleError(operationSchema, context, response, dataObject, metadata) {
88
58
  const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
89
- let namespace = this.options.defaultNamespace;
90
- let errorName = errorIdentifier;
91
- if (errorIdentifier.includes("#")) {
92
- [namespace, errorName] = errorIdentifier.split("#");
93
- }
94
- const registry = TypeRegistry.for(namespace);
95
- let errorSchema;
96
- try {
97
- errorSchema = registry.getSchema(errorIdentifier);
98
- }
99
- catch (e) {
100
- const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
101
- if (baseExceptionSchema) {
102
- const ErrorCtor = baseExceptionSchema.ctor;
103
- throw Object.assign(new ErrorCtor(errorName), dataObject);
104
- }
105
- throw new Error(errorName);
106
- }
59
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
107
60
  const ns = NormalizedSchema.of(errorSchema);
108
61
  const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
109
62
  const exception = new errorSchema.ctor(message);
@@ -114,14 +67,10 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
114
67
  const value = dataObject.Error?.[target] ?? dataObject[target];
115
68
  output[name] = this.codec.createDeserializer().readSchema(member, value);
116
69
  }
117
- Object.assign(exception, {
118
- $metadata: metadata,
119
- $response: response,
70
+ throw Object.assign(exception, errorMetadata, {
120
71
  $fault: ns.getMergedTraits().error,
121
72
  message,
122
- ...output,
123
- });
124
- throw exception;
73
+ }, output);
125
74
  }
126
75
  getDefaultContentType() {
127
76
  return "application/xml";
@@ -62,9 +62,6 @@ export class XmlShapeSerializer extends SerdeContextConfig {
62
62
  }
63
63
  const structXmlNode = XmlNode.of(name);
64
64
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
65
- if (xmlns) {
66
- structXmlNode.addAttribute(xmlnsAttr, xmlns);
67
- }
68
65
  for (const [memberName, memberSchema] of ns.structIterator()) {
69
66
  const val = value[memberName];
70
67
  if (val != null || memberSchema.isIdempotencyToken()) {
@@ -88,6 +85,9 @@ export class XmlShapeSerializer extends SerdeContextConfig {
88
85
  }
89
86
  }
90
87
  }
88
+ if (xmlns) {
89
+ structXmlNode.addAttribute(xmlnsAttr, xmlns);
90
+ }
91
91
  return structXmlNode;
92
92
  }
93
93
  writeList(listMember, array, container, parentXmlns) {
@@ -0,0 +1,57 @@
1
+ import { ErrorSchema, NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import type { HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, SerdeFunctions } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ type ErrorMetadataBearer = MetadataBearer & {
7
+ $response: IHttpResponse;
8
+ $fault: "client" | "server";
9
+ };
10
+ /**
11
+ * Shared code for Protocols.
12
+ *
13
+ * @internal
14
+ */
15
+ export declare class ProtocolLib {
16
+ /**
17
+ * @param body - to be inspected.
18
+ * @param serdeContext - this is a subset type but in practice is the client.config having a property called bodyLengthChecker.
19
+ *
20
+ * @returns content-length value for the body if possible.
21
+ * @throws Error and should be caught and handled if not possible to determine length.
22
+ */
23
+ calculateContentLength(body: any, serdeContext?: SerdeFunctions): string;
24
+ /**
25
+ * This is only for REST protocols.
26
+ *
27
+ * @param defaultContentType - of the protocol.
28
+ * @param inputSchema - schema for which to determine content type.
29
+ *
30
+ * @returns content-type header value or undefined when not applicable.
31
+ */
32
+ resolveRestContentType(defaultContentType: string, inputSchema: NormalizedSchema): string | undefined;
33
+ /**
34
+ * Shared code for finding error schema or throwing an unmodeled base error.
35
+ * @returns error schema and error metadata.
36
+ *
37
+ * @throws ServiceBaseException or generic Error if no error schema could be found.
38
+ */
39
+ getErrorSchemaOrThrowBaseException(errorIdentifier: string, defaultNamespace: string, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata, getErrorSchema?: (registry: TypeRegistry, errorName: string) => ErrorSchema): Promise<{
40
+ errorSchema: ErrorSchema;
41
+ errorMetadata: ErrorMetadataBearer;
42
+ }>;
43
+ /**
44
+ * Reads the x-amzn-query-error header for awsQuery compatibility.
45
+ *
46
+ * @param output - values that will be assigned to an error object.
47
+ * @param response - from which to read awsQueryError headers.
48
+ */
49
+ setQueryCompatError(output: Record<string, any>, response: IHttpResponse): void;
50
+ /**
51
+ * Assigns Error, Type, Code from the awsQuery error object to the output error object.
52
+ * @param queryCompatErrorData - query compat error object.
53
+ * @param errorData - canonical error object returned to the caller.
54
+ */
55
+ queryCompatOutput(queryCompatErrorData: any, errorData: any): void;
56
+ }
57
+ export {};