@cdk8s/awscdk-resolver 0.0.50 → 0.0.52

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 (700) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormation.js +1 -151
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormationClient.js +1 -43
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +1 -28
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateTypeCommand.js +1 -28
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +1 -28
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CancelUpdateStackCommand.js +1 -28
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ContinueUpdateRollbackCommand.js +1 -28
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateChangeSetCommand.js +1 -28
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackCommand.js +1 -28
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackInstancesCommand.js +1 -28
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackSetCommand.js +1 -28
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +1 -28
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateTypeCommand.js +1 -28
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteChangeSetCommand.js +1 -28
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackCommand.js +1 -28
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackInstancesCommand.js +1 -28
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackSetCommand.js +1 -28
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeregisterTypeCommand.js +1 -28
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeAccountLimitsCommand.js +1 -28
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetCommand.js +1 -28
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetHooksCommand.js +1 -28
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +1 -28
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribePublisherCommand.js +1 -28
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +1 -28
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackEventsCommand.js +1 -28
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackInstanceCommand.js +1 -28
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceCommand.js +1 -28
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +1 -28
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourcesCommand.js +1 -28
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetCommand.js +1 -28
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetOperationCommand.js +1 -28
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStacksCommand.js +1 -28
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeCommand.js +1 -28
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeRegistrationCommand.js +1 -28
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackDriftCommand.js +1 -28
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackResourceDriftCommand.js +1 -28
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackSetDriftCommand.js +1 -28
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/EstimateTemplateCostCommand.js +1 -28
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ExecuteChangeSetCommand.js +1 -28
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetStackPolicyCommand.js +1 -28
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateCommand.js +1 -28
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateSummaryCommand.js +1 -28
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ImportStacksToStackSetCommand.js +1 -28
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListChangeSetsCommand.js +1 -28
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListExportsCommand.js +1 -28
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListImportsCommand.js +1 -28
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +1 -28
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstancesCommand.js +1 -28
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackResourcesCommand.js +1 -28
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationResultsCommand.js +1 -28
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationsCommand.js +1 -28
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetsCommand.js +1 -28
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStacksCommand.js +1 -28
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeRegistrationsCommand.js +1 -28
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeVersionsCommand.js +1 -28
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypesCommand.js +1 -28
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/PublishTypeCommand.js +1 -28
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RecordHandlerProgressCommand.js +1 -28
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterPublisherCommand.js +1 -28
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterTypeCommand.js +1 -28
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RollbackStackCommand.js +1 -28
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetStackPolicyCommand.js +1 -28
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeConfigurationCommand.js +1 -28
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeDefaultVersionCommand.js +1 -28
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SignalResourceCommand.js +1 -28
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StopStackSetOperationCommand.js +1 -28
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/TestTypeCommand.js +1 -28
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackCommand.js +1 -28
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackInstancesCommand.js +1 -28
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackSetCommand.js +1 -28
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateTerminationProtectionCommand.js +1 -28
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ValidateTemplateCommand.js +1 -28
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/index.js +1 -73
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/EndpointParameters.js +1 -18
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/extensionConfiguration.js +1 -2
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +11649 -12
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +1 -12
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/index.js +1 -4
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_0.js +1 -662
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +1 -7
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackEventsPaginator.js +1 -7
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackResourceDriftsPaginator.js +1 -7
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStacksPaginator.js +1 -7
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/Interfaces.js +1 -2
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListChangeSetsPaginator.js +1 -7
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListExportsPaginator.js +1 -7
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListImportsPaginator.js +1 -7
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackInstancesPaginator.js +1 -7
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackResourcesPaginator.js +1 -7
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationResultsPaginator.js +1 -7
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationsPaginator.js +1 -7
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetsPaginator.js +1 -7
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStacksPaginator.js +1 -7
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeRegistrationsPaginator.js +1 -7
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeVersionsPaginator.js +1 -7
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypesPaginator.js +1 -7
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/index.js +1 -20
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/protocols/Aws_query.js +1 -8546
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeExtensions.js +1 -22
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/index.js +1 -11
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForChangeSetCreateComplete.js +1 -48
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackCreateComplete.js +1 -258
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackDeleteComplete.js +1 -152
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackExists.js +1 -31
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackImportComplete.js +1 -122
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackRollbackComplete.js +1 -92
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForStackUpdateComplete.js +1 -92
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/waiters/waitForTypeRegistrationComplete.js +1 -45
  111. package/node_modules/@aws-sdk/client-cloudformation/package.json +41 -41
  112. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +1 -19
  113. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +1 -40
  114. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +1 -29
  115. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +1 -29
  116. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +1 -29
  117. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +1 -29
  118. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +1 -7
  119. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +1 -18
  120. package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +1 -2
  121. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +691 -11
  122. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +1 -12
  123. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +1 -4
  124. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +1 -88
  125. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +1 -2
  126. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -7
  127. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -7
  128. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +1 -6
  129. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -346
  130. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +1 -22
  131. package/node_modules/@aws-sdk/client-sso/package.json +37 -37
  132. package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +1 -27
  133. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +1 -29
  134. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +1 -28
  135. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +1 -28
  136. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +1 -28
  137. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +1 -29
  138. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +1 -29
  139. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +1 -11
  140. package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +1 -28
  141. package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +1 -2
  142. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +276 -11
  143. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +1 -4
  144. package/node_modules/@aws-sdk/client-sts/package.json +39 -39
  145. package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
  146. package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -17
  147. package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -4
  148. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -61
  149. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -5
  150. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -82
  151. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -4
  152. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -6
  153. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -5
  154. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -12
  155. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -6
  156. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -6
  157. package/node_modules/@aws-sdk/core/dist-cjs/index.js +316 -6
  158. package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -59
  159. package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -5
  160. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -14
  161. package/node_modules/@aws-sdk/core/package.json +7 -7
  162. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  163. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  164. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  165. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +1 -27
  166. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +66 -4
  167. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  168. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +1 -10
  169. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +175 -4
  170. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -52
  171. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +1 -21
  172. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +1 -11
  173. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +1 -32
  174. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +1 -17
  175. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +1 -16
  176. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +1 -17
  177. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  178. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +1 -15
  179. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +73 -4
  180. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +1 -18
  181. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  182. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js +1 -2
  183. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +1 -10
  184. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +1 -26
  185. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +96 -4
  186. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +1 -37
  187. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  188. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +1 -61
  189. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +177 -7
  190. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +1 -10
  191. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -56
  192. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +1 -2
  193. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +1 -13
  194. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  195. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -5
  196. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  197. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +65 -34
  198. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  199. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +79 -4
  200. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +1 -48
  201. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  202. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +64 -36
  203. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  204. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +1 -108
  205. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +1 -62
  206. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +227 -5
  207. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js +1 -5
  208. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js +1 -12
  209. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/isClockSkewed.js +1 -6
  210. package/node_modules/@aws-sdk/middleware-signing/package.json +8 -8
  211. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +1 -10
  212. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +1 -10
  213. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +122 -5
  214. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +1 -79
  215. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  216. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +1 -30
  217. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +115 -5
  218. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +1 -15
  219. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
  220. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +1 -5
  221. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
  222. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
  223. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  224. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +1 -5
  225. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +1 -82
  226. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +1 -11
  227. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +1 -15
  228. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +1 -14
  229. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +211 -7
  230. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +1 -9
  231. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +1 -11
  232. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +1 -11
  233. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +1 -12
  234. package/node_modules/@aws-sdk/token-providers/package.json +36 -36
  235. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +1 -2
  236. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +1 -5
  237. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +1 -2
  238. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +1 -2
  239. package/node_modules/@aws-sdk/types/dist-cjs/client.js +1 -2
  240. package/node_modules/@aws-sdk/types/dist-cjs/command.js +1 -2
  241. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +1 -2
  242. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +1 -2
  243. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +1 -2
  244. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +1 -8
  245. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +1 -2
  246. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +1 -5
  247. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +1 -2
  248. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +1 -2
  249. package/node_modules/@aws-sdk/types/dist-cjs/http.js +1 -2
  250. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +1 -2
  251. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +1 -2
  252. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +1 -2
  253. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +1 -2
  254. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +1 -2
  255. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +1 -8
  256. package/node_modules/@aws-sdk/types/dist-cjs/index.js +466 -35
  257. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +1 -2
  258. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +1 -2
  259. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +1 -2
  260. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +1 -2
  261. package/node_modules/@aws-sdk/types/dist-cjs/request.js +1 -2
  262. package/node_modules/@aws-sdk/types/dist-cjs/response.js +1 -2
  263. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +1 -2
  264. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +1 -2
  265. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +1 -2
  266. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +1 -2
  267. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +1 -2
  268. package/node_modules/@aws-sdk/types/dist-cjs/token.js +1 -2
  269. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +1 -5
  270. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +1 -2
  271. package/node_modules/@aws-sdk/types/dist-cjs/util.js +1 -2
  272. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +1 -2
  273. package/node_modules/@aws-sdk/types/package.json +3 -3
  274. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +1 -12
  275. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +424 -8
  276. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +1 -6
  277. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +1 -29
  278. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +1 -19
  279. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +1 -49
  280. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -5
  281. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +1 -5
  282. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +1 -5
  283. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
  284. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
  285. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
  286. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
  287. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +1 -9
  288. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +1 -2
  289. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  290. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +37 -11
  291. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  292. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  293. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +1 -6
  294. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +93 -43
  295. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +1 -11
  296. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  297. package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -13
  298. package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -24
  299. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +85 -5
  300. package/node_modules/@smithy/abort-controller/package.json +3 -3
  301. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +1 -12
  302. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +1 -12
  303. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +1 -7
  304. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +1 -16
  305. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -20
  306. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +1 -20
  307. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +235 -6
  308. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +1 -15
  309. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
  310. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +1 -5
  311. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
  312. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
  313. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +1 -2
  314. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +1 -2
  315. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +1 -2
  316. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +1 -2
  317. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +1 -8
  318. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +1 -34
  319. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +1 -9
  320. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +1 -5
  321. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +1 -16
  322. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +1 -6
  323. package/node_modules/@smithy/config-resolver/package.json +6 -6
  324. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +1 -6
  325. package/node_modules/@smithy/core/dist-cjs/index.js +482 -12
  326. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -22
  327. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -22
  328. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -45
  329. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +1 -6
  330. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +1 -20
  331. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +1 -28
  332. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +1 -5
  333. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +1 -10
  334. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +1 -32
  335. package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +1 -72
  336. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -17
  337. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +1 -37
  338. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -14
  339. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +1 -6
  340. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +1 -9
  341. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +1 -6
  342. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +1 -59
  343. package/node_modules/@smithy/core/package.json +9 -9
  344. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +1 -8
  345. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +1 -10
  346. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +1 -8
  347. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +1 -11
  348. package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +1 -13
  349. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +1 -70
  350. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +1 -137
  351. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +427 -12
  352. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +1 -17
  353. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +1 -7
  354. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +1 -41
  355. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +1 -5
  356. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +1 -11
  357. package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +1 -2
  358. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +1 -22
  359. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +1 -23
  360. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +1 -29
  361. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  362. package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +1 -66
  363. package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +1 -186
  364. package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +1 -47
  365. package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +1 -2
  366. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +1 -18
  367. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +1 -21
  368. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +1 -20
  369. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +1 -18
  370. package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +1 -693
  371. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +468 -11
  372. package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +1 -34
  373. package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +1 -2
  374. package/node_modules/@smithy/eventstream-codec/package.json +5 -5
  375. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -117
  376. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +220 -5
  377. package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -15
  378. package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -50
  379. package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
  380. package/node_modules/@smithy/hash-node/dist-cjs/index.js +64 -36
  381. package/node_modules/@smithy/hash-node/package.json +5 -5
  382. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +41 -5
  383. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +1 -7
  384. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +1 -5
  385. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  386. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -6
  387. package/node_modules/@smithy/is-array-buffer/package.json +7 -9
  388. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +66 -39
  389. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  390. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +1 -38
  391. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +1 -51
  392. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +1 -5
  393. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +1 -14
  394. package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +1 -37
  395. package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +1 -22
  396. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +254 -8
  397. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +1 -21
  398. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +1 -4
  399. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +1 -43
  400. package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +1 -2
  401. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  402. package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -24
  403. package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +1 -95
  404. package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +1 -57
  405. package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +1 -32
  406. package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +1 -6
  407. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +424 -10
  408. package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +1 -27
  409. package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +1 -11
  410. package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +1 -118
  411. package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +1 -2
  412. package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +1 -13
  413. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  414. package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +1 -24
  415. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +97 -6
  416. package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +1 -26
  417. package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +1 -18
  418. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  419. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +1 -287
  420. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +318 -4
  421. package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +1 -2
  422. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  423. package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +1 -9
  424. package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +1 -17
  425. package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +1 -26
  426. package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +1 -7
  427. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +87 -4
  428. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  429. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -4
  430. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -12
  431. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +626 -6
  432. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -153
  433. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -92
  434. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -36
  435. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -165
  436. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -23
  437. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -60
  438. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -25
  439. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -12
  440. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -10
  441. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -15
  442. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -18
  443. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -23
  444. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -45
  445. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  446. package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -13
  447. package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -15
  448. package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -13
  449. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -25
  450. package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -5
  451. package/node_modules/@smithy/property-provider/dist-cjs/index.js +150 -9
  452. package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -49
  453. package/node_modules/@smithy/property-provider/package.json +3 -3
  454. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -27
  455. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -23
  456. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -27
  457. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -4
  458. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -2
  459. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -52
  460. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -18
  461. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -11
  462. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -8
  463. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -2
  464. package/node_modules/@smithy/protocol-http/package.json +3 -3
  465. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +49 -22
  466. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  467. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +50 -24
  468. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  469. package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +1 -30
  470. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +88 -30
  471. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  472. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +1 -22
  473. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +1 -8
  474. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +1 -8
  475. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +1 -7
  476. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +1 -9
  477. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +190 -11
  478. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +1 -31
  479. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +1 -16
  480. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +1 -18
  481. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +1 -56
  482. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +1 -10
  483. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +1 -2
  484. package/node_modules/@smithy/shared-ini-file-loader/package.json +13 -3
  485. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +1 -194
  486. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +1 -17
  487. package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +1 -46
  488. package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +1 -39
  489. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +1 -24
  490. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +1 -31
  491. package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +1 -24
  492. package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +1 -32
  493. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +467 -16
  494. package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +1 -21
  495. package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +1 -15
  496. package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +1 -402
  497. package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +1 -20
  498. package/node_modules/@smithy/signature-v4/package.json +10 -10
  499. package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +1 -11
  500. package/node_modules/@smithy/smithy-client/dist-cjs/client.js +1 -28
  501. package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +1 -15
  502. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +1 -118
  503. package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +1 -4
  504. package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +1 -25
  505. package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +1 -195
  506. package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +1 -30
  507. package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +1 -30
  508. package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +1 -10
  509. package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +1 -27
  510. package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +1 -9
  511. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +1 -36
  512. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -20
  513. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +1 -4
  514. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +1 -21
  515. package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +1 -5
  516. package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +1 -16
  517. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1256 -25
  518. package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +1 -38
  519. package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +1 -98
  520. package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +1 -253
  521. package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +1 -23
  522. package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +1 -17
  523. package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +1 -23
  524. package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +1 -31
  525. package/node_modules/@smithy/smithy-client/package.json +7 -7
  526. package/node_modules/@smithy/types/dist-cjs/abort.js +1 -2
  527. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -8
  528. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -2
  529. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -2
  530. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -2
  531. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -2
  532. package/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -8
  533. package/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -9
  534. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -2
  535. package/node_modules/@smithy/types/dist-cjs/checksum.js +1 -2
  536. package/node_modules/@smithy/types/dist-cjs/client.js +1 -2
  537. package/node_modules/@smithy/types/dist-cjs/command.js +1 -2
  538. package/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -2
  539. package/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -6
  540. package/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -2
  541. package/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -2
  542. package/node_modules/@smithy/types/dist-cjs/crypto.js +1 -2
  543. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -2
  544. package/node_modules/@smithy/types/dist-cjs/encode.js +1 -2
  545. package/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -8
  546. package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -2
  547. package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -2
  548. package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -2
  549. package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -2
  550. package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -8
  551. package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -2
  552. package/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -2
  553. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -44
  554. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -16
  555. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -2
  556. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -8
  557. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -2
  558. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -2
  559. package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -2
  560. package/node_modules/@smithy/types/dist-cjs/http.js +1 -8
  561. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -2
  562. package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -2
  563. package/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -2
  564. package/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -7
  565. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -2
  566. package/node_modules/@smithy/types/dist-cjs/index.js +149 -39
  567. package/node_modules/@smithy/types/dist-cjs/logger.js +1 -2
  568. package/node_modules/@smithy/types/dist-cjs/middleware.js +1 -4
  569. package/node_modules/@smithy/types/dist-cjs/pagination.js +1 -2
  570. package/node_modules/@smithy/types/dist-cjs/profile.js +1 -9
  571. package/node_modules/@smithy/types/dist-cjs/response.js +1 -2
  572. package/node_modules/@smithy/types/dist-cjs/retry.js +1 -2
  573. package/node_modules/@smithy/types/dist-cjs/serde.js +1 -2
  574. package/node_modules/@smithy/types/dist-cjs/shapes.js +1 -2
  575. package/node_modules/@smithy/types/dist-cjs/signature.js +1 -2
  576. package/node_modules/@smithy/types/dist-cjs/stream.js +1 -2
  577. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -2
  578. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -2
  579. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -2
  580. package/node_modules/@smithy/types/dist-cjs/transfer.js +1 -9
  581. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -2
  582. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -2
  583. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -2
  584. package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -2
  585. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -2
  586. package/node_modules/@smithy/types/dist-cjs/uri.js +1 -2
  587. package/node_modules/@smithy/types/dist-cjs/util.js +1 -2
  588. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -2
  589. package/node_modules/@smithy/types/package.json +2 -2
  590. package/node_modules/@smithy/url-parser/dist-cjs/index.js +48 -21
  591. package/node_modules/@smithy/url-parser/package.json +4 -4
  592. package/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -5
  593. package/node_modules/@smithy/util-base64/package.json +4 -4
  594. package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +1 -30
  595. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +57 -4
  596. package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  597. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +1 -29
  598. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +53 -4
  599. package/node_modules/@smithy/util-body-length-node/package.json +7 -9
  600. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +45 -17
  601. package/node_modules/@smithy/util-buffer-from/package.json +8 -10
  602. package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +1 -13
  603. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +64 -6
  604. package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +1 -13
  605. package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +1 -8
  606. package/node_modules/@smithy/util-config-provider/package.json +2 -2
  607. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +25 -4
  608. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  609. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +1 -9
  610. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +1 -14
  611. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +109 -4
  612. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +1 -57
  613. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  614. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +1 -4
  615. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +1 -5
  616. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +1 -16
  617. package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +1 -25
  618. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +484 -8
  619. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +1 -5
  620. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +1 -15
  621. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +1 -29
  622. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +1 -12
  623. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -6
  624. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +1 -5
  625. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +1 -17
  626. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +1 -5
  627. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +1 -55
  628. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +1 -5
  629. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +1 -13
  630. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +1 -5
  631. package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +1 -42
  632. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +1 -10
  633. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +1 -2
  634. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
  635. package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
  636. package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
  637. package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
  638. package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +1 -10
  639. package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +1 -2
  640. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +1 -15
  641. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +1 -4
  642. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +1 -15
  643. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +1 -19
  644. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +1 -27
  645. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +1 -32
  646. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +1 -18
  647. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +1 -20
  648. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +1 -31
  649. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +1 -40
  650. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +1 -17
  651. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +1 -16
  652. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +1 -9
  653. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +1 -25
  654. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +1 -19
  655. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +1 -11
  656. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +1 -5
  657. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  658. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +60 -31
  659. package/node_modules/@smithy/util-hex-encoding/package.json +7 -9
  660. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +1 -6
  661. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +45 -5
  662. package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +1 -10
  663. package/node_modules/@smithy/util-middleware/package.json +3 -3
  664. package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -28
  665. package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +1 -22
  666. package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +1 -104
  667. package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +1 -70
  668. package/node_modules/@smithy/util-retry/dist-cjs/config.js +1 -10
  669. package/node_modules/@smithy/util-retry/dist-cjs/constants.js +1 -12
  670. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +1 -18
  671. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +1 -15
  672. package/node_modules/@smithy/util-retry/dist-cjs/index.js +347 -10
  673. package/node_modules/@smithy/util-retry/dist-cjs/types.js +1 -2
  674. package/node_modules/@smithy/util-retry/package.json +4 -4
  675. package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +1 -22
  676. package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +1 -20
  677. package/node_modules/@smithy/util-stream/dist-cjs/index.js +89 -6
  678. package/node_modules/@smithy/util-stream/package.json +10 -10
  679. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -6
  680. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -6
  681. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -5
  682. package/node_modules/@smithy/util-uri-escape/package.json +7 -9
  683. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -5
  684. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -9
  685. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +57 -6
  686. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -14
  687. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -5
  688. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -6
  689. package/node_modules/@smithy/util-utf8/package.json +4 -4
  690. package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +1 -27
  691. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +155 -5
  692. package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +1 -38
  693. package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +1 -5
  694. package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +1 -7
  695. package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +1 -21
  696. package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +1 -38
  697. package/node_modules/@smithy/util-waiter/package.json +4 -4
  698. package/package.json +5 -5
  699. package/.gitattributes +0 -38
  700. package/.projenrc.ts +0 -49
@@ -1,25 +1,1256 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./NoOpLogger"), exports);
5
- tslib_1.__exportStar(require("./client"), exports);
6
- tslib_1.__exportStar(require("./collect-stream-body"), exports);
7
- tslib_1.__exportStar(require("./command"), exports);
8
- tslib_1.__exportStar(require("./constants"), exports);
9
- tslib_1.__exportStar(require("./create-aggregated-client"), exports);
10
- tslib_1.__exportStar(require("./date-utils"), exports);
11
- tslib_1.__exportStar(require("./default-error-handler"), exports);
12
- tslib_1.__exportStar(require("./defaults-mode"), exports);
13
- tslib_1.__exportStar(require("./emitWarningIfUnsupportedVersion"), exports);
14
- tslib_1.__exportStar(require("./extensions"), exports);
15
- tslib_1.__exportStar(require("./exceptions"), exports);
16
- tslib_1.__exportStar(require("./extended-encode-uri-component"), exports);
17
- tslib_1.__exportStar(require("./get-array-if-single-item"), exports);
18
- tslib_1.__exportStar(require("./get-value-from-text-node"), exports);
19
- tslib_1.__exportStar(require("./lazy-json"), exports);
20
- tslib_1.__exportStar(require("./object-mapping"), exports);
21
- tslib_1.__exportStar(require("./parse-utils"), exports);
22
- tslib_1.__exportStar(require("./resolve-path"), exports);
23
- tslib_1.__exportStar(require("./ser-utils"), exports);
24
- tslib_1.__exportStar(require("./serde-json"), exports);
25
- tslib_1.__exportStar(require("./split-every"), exports);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ Client: () => Client,
24
+ Command: () => Command,
25
+ LazyJsonString: () => LazyJsonString,
26
+ NoOpLogger: () => NoOpLogger,
27
+ SENSITIVE_STRING: () => SENSITIVE_STRING,
28
+ ServiceException: () => ServiceException,
29
+ StringWrapper: () => StringWrapper,
30
+ _json: () => _json,
31
+ collectBody: () => collectBody,
32
+ convertMap: () => convertMap,
33
+ createAggregatedClient: () => createAggregatedClient,
34
+ dateToUtcString: () => dateToUtcString,
35
+ decorateServiceException: () => decorateServiceException,
36
+ emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
37
+ expectBoolean: () => expectBoolean,
38
+ expectByte: () => expectByte,
39
+ expectFloat32: () => expectFloat32,
40
+ expectInt: () => expectInt,
41
+ expectInt32: () => expectInt32,
42
+ expectLong: () => expectLong,
43
+ expectNonNull: () => expectNonNull,
44
+ expectNumber: () => expectNumber,
45
+ expectObject: () => expectObject,
46
+ expectShort: () => expectShort,
47
+ expectString: () => expectString,
48
+ expectUnion: () => expectUnion,
49
+ extendedEncodeURIComponent: () => extendedEncodeURIComponent,
50
+ getArrayIfSingleItem: () => getArrayIfSingleItem,
51
+ getDefaultClientConfiguration: () => getDefaultClientConfiguration,
52
+ getDefaultExtensionConfiguration: () => getDefaultExtensionConfiguration,
53
+ getValueFromTextNode: () => getValueFromTextNode,
54
+ handleFloat: () => handleFloat,
55
+ limitedParseDouble: () => limitedParseDouble,
56
+ limitedParseFloat: () => limitedParseFloat,
57
+ limitedParseFloat32: () => limitedParseFloat32,
58
+ loadConfigsForDefaultMode: () => loadConfigsForDefaultMode,
59
+ logger: () => logger,
60
+ map: () => map,
61
+ parseBoolean: () => parseBoolean,
62
+ parseEpochTimestamp: () => parseEpochTimestamp,
63
+ parseRfc3339DateTime: () => parseRfc3339DateTime,
64
+ parseRfc3339DateTimeWithOffset: () => parseRfc3339DateTimeWithOffset,
65
+ parseRfc7231DateTime: () => parseRfc7231DateTime,
66
+ resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig,
67
+ resolvedPath: () => resolvedPath,
68
+ serializeFloat: () => serializeFloat,
69
+ splitEvery: () => splitEvery,
70
+ strictParseByte: () => strictParseByte,
71
+ strictParseDouble: () => strictParseDouble,
72
+ strictParseFloat: () => strictParseFloat,
73
+ strictParseFloat32: () => strictParseFloat32,
74
+ strictParseInt: () => strictParseInt,
75
+ strictParseInt32: () => strictParseInt32,
76
+ strictParseLong: () => strictParseLong,
77
+ strictParseShort: () => strictParseShort,
78
+ take: () => take,
79
+ throwDefaultError: () => throwDefaultError,
80
+ withBaseException: () => withBaseException
81
+ });
82
+ module.exports = __toCommonJS(src_exports);
83
+
84
+ // src/NoOpLogger.ts
85
+ var _NoOpLogger = class _NoOpLogger {
86
+ trace() {
87
+ }
88
+ debug() {
89
+ }
90
+ info() {
91
+ }
92
+ warn() {
93
+ }
94
+ error() {
95
+ }
96
+ };
97
+ __name(_NoOpLogger, "NoOpLogger");
98
+ var NoOpLogger = _NoOpLogger;
99
+
100
+ // src/client.ts
101
+ var import_middleware_stack = require("@smithy/middleware-stack");
102
+ var _Client = class _Client {
103
+ constructor(config) {
104
+ this.middlewareStack = (0, import_middleware_stack.constructStack)();
105
+ this.config = config;
106
+ }
107
+ send(command, optionsOrCb, cb) {
108
+ const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0;
109
+ const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
110
+ const handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
111
+ if (callback) {
112
+ handler(command).then(
113
+ (result) => callback(null, result.output),
114
+ (err) => callback(err)
115
+ ).catch(
116
+ // prevent any errors thrown in the callback from triggering an
117
+ // unhandled promise rejection
118
+ () => {
119
+ }
120
+ );
121
+ } else {
122
+ return handler(command).then((result) => result.output);
123
+ }
124
+ }
125
+ destroy() {
126
+ if (this.config.requestHandler.destroy)
127
+ this.config.requestHandler.destroy();
128
+ }
129
+ };
130
+ __name(_Client, "Client");
131
+ var Client = _Client;
132
+
133
+ // src/collect-stream-body.ts
134
+ var import_util_stream = require("@smithy/util-stream");
135
+ var collectBody = /* @__PURE__ */ __name(async (streamBody = new Uint8Array(), context) => {
136
+ if (streamBody instanceof Uint8Array) {
137
+ return import_util_stream.Uint8ArrayBlobAdapter.mutate(streamBody);
138
+ }
139
+ if (!streamBody) {
140
+ return import_util_stream.Uint8ArrayBlobAdapter.mutate(new Uint8Array());
141
+ }
142
+ const fromContext = context.streamCollector(streamBody);
143
+ return import_util_stream.Uint8ArrayBlobAdapter.mutate(await fromContext);
144
+ }, "collectBody");
145
+
146
+ // src/command.ts
147
+
148
+ var import_types = require("@smithy/types");
149
+ var _Command = class _Command {
150
+ constructor() {
151
+ this.middlewareStack = (0, import_middleware_stack.constructStack)();
152
+ }
153
+ /**
154
+ * Factory for Command ClassBuilder.
155
+ * @internal
156
+ */
157
+ static classBuilder() {
158
+ return new ClassBuilder();
159
+ }
160
+ /**
161
+ * @internal
162
+ */
163
+ resolveMiddlewareWithContext(clientStack, configuration, options, {
164
+ middlewareFn,
165
+ clientName,
166
+ commandName,
167
+ inputFilterSensitiveLog,
168
+ outputFilterSensitiveLog,
169
+ smithyContext,
170
+ additionalContext,
171
+ CommandCtor
172
+ }) {
173
+ for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
174
+ this.middlewareStack.use(mw);
175
+ }
176
+ const stack = clientStack.concat(this.middlewareStack);
177
+ const { logger: logger2 } = configuration;
178
+ const handlerExecutionContext = {
179
+ logger: logger2,
180
+ clientName,
181
+ commandName,
182
+ inputFilterSensitiveLog,
183
+ outputFilterSensitiveLog,
184
+ [import_types.SMITHY_CONTEXT_KEY]: {
185
+ ...smithyContext
186
+ },
187
+ ...additionalContext
188
+ };
189
+ const { requestHandler } = configuration;
190
+ return stack.resolve(
191
+ (request) => requestHandler.handle(request.request, options || {}),
192
+ handlerExecutionContext
193
+ );
194
+ }
195
+ };
196
+ __name(_Command, "Command");
197
+ var Command = _Command;
198
+ var _ClassBuilder = class _ClassBuilder {
199
+ constructor() {
200
+ this._init = () => {
201
+ };
202
+ this._ep = {};
203
+ this._middlewareFn = () => [];
204
+ this._commandName = "";
205
+ this._clientName = "";
206
+ this._additionalContext = {};
207
+ this._smithyContext = {};
208
+ this._inputFilterSensitiveLog = (_) => _;
209
+ this._outputFilterSensitiveLog = (_) => _;
210
+ this._serializer = null;
211
+ this._deserializer = null;
212
+ }
213
+ /**
214
+ * Optional init callback.
215
+ */
216
+ init(cb) {
217
+ this._init = cb;
218
+ }
219
+ /**
220
+ * Set the endpoint parameter instructions.
221
+ */
222
+ ep(endpointParameterInstructions) {
223
+ this._ep = endpointParameterInstructions;
224
+ return this;
225
+ }
226
+ /**
227
+ * Add any number of middleware.
228
+ */
229
+ m(middlewareSupplier) {
230
+ this._middlewareFn = middlewareSupplier;
231
+ return this;
232
+ }
233
+ /**
234
+ * Set the initial handler execution context Smithy field.
235
+ */
236
+ s(service, operation, smithyContext = {}) {
237
+ this._smithyContext = {
238
+ service,
239
+ operation,
240
+ ...smithyContext
241
+ };
242
+ return this;
243
+ }
244
+ /**
245
+ * Set the initial handler execution context.
246
+ */
247
+ c(additionalContext = {}) {
248
+ this._additionalContext = additionalContext;
249
+ return this;
250
+ }
251
+ /**
252
+ * Set constant string identifiers for the operation.
253
+ */
254
+ n(clientName, commandName) {
255
+ this._clientName = clientName;
256
+ this._commandName = commandName;
257
+ return this;
258
+ }
259
+ /**
260
+ * Set the input and output sensistive log filters.
261
+ */
262
+ f(inputFilter = (_) => _, outputFilter = (_) => _) {
263
+ this._inputFilterSensitiveLog = inputFilter;
264
+ this._outputFilterSensitiveLog = outputFilter;
265
+ return this;
266
+ }
267
+ /**
268
+ * Sets the serializer.
269
+ */
270
+ ser(serializer) {
271
+ this._serializer = serializer;
272
+ return this;
273
+ }
274
+ /**
275
+ * Sets the deserializer.
276
+ */
277
+ de(deserializer) {
278
+ this._deserializer = deserializer;
279
+ return this;
280
+ }
281
+ /**
282
+ * @returns a Command class with the classBuilder properties.
283
+ */
284
+ build() {
285
+ var _a;
286
+ const closure = this;
287
+ let CommandRef;
288
+ return CommandRef = (_a = class extends Command {
289
+ /**
290
+ * @public
291
+ */
292
+ constructor(input) {
293
+ super();
294
+ this.input = input;
295
+ /**
296
+ * @internal
297
+ */
298
+ // @ts-ignore used in middlewareFn closure.
299
+ this.serialize = closure._serializer;
300
+ /**
301
+ * @internal
302
+ */
303
+ // @ts-ignore used in middlewareFn closure.
304
+ this.deserialize = closure._deserializer;
305
+ closure._init(this);
306
+ }
307
+ /**
308
+ * @public
309
+ */
310
+ static getEndpointParameterInstructions() {
311
+ return closure._ep;
312
+ }
313
+ /**
314
+ * @internal
315
+ */
316
+ resolveMiddleware(stack, configuration, options) {
317
+ return this.resolveMiddlewareWithContext(stack, configuration, options, {
318
+ CommandCtor: CommandRef,
319
+ middlewareFn: closure._middlewareFn,
320
+ clientName: closure._clientName,
321
+ commandName: closure._commandName,
322
+ inputFilterSensitiveLog: closure._inputFilterSensitiveLog,
323
+ outputFilterSensitiveLog: closure._outputFilterSensitiveLog,
324
+ smithyContext: closure._smithyContext,
325
+ additionalContext: closure._additionalContext
326
+ });
327
+ }
328
+ }, __name(_a, "CommandRef"), _a);
329
+ }
330
+ };
331
+ __name(_ClassBuilder, "ClassBuilder");
332
+ var ClassBuilder = _ClassBuilder;
333
+
334
+ // src/constants.ts
335
+ var SENSITIVE_STRING = "***SensitiveInformation***";
336
+
337
+ // src/create-aggregated-client.ts
338
+ var createAggregatedClient = /* @__PURE__ */ __name((commands, Client2) => {
339
+ for (const command of Object.keys(commands)) {
340
+ const CommandCtor = commands[command];
341
+ const methodImpl = /* @__PURE__ */ __name(async function(args, optionsOrCb, cb) {
342
+ const command2 = new CommandCtor(args);
343
+ if (typeof optionsOrCb === "function") {
344
+ this.send(command2, optionsOrCb);
345
+ } else if (typeof cb === "function") {
346
+ if (typeof optionsOrCb !== "object")
347
+ throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
348
+ this.send(command2, optionsOrCb || {}, cb);
349
+ } else {
350
+ return this.send(command2, optionsOrCb);
351
+ }
352
+ }, "methodImpl");
353
+ const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
354
+ Client2.prototype[methodName] = methodImpl;
355
+ }
356
+ }, "createAggregatedClient");
357
+
358
+ // src/parse-utils.ts
359
+ var parseBoolean = /* @__PURE__ */ __name((value) => {
360
+ switch (value) {
361
+ case "true":
362
+ return true;
363
+ case "false":
364
+ return false;
365
+ default:
366
+ throw new Error(`Unable to parse boolean value "${value}"`);
367
+ }
368
+ }, "parseBoolean");
369
+ var expectBoolean = /* @__PURE__ */ __name((value) => {
370
+ if (value === null || value === void 0) {
371
+ return void 0;
372
+ }
373
+ if (typeof value === "number") {
374
+ if (value === 0 || value === 1) {
375
+ logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
376
+ }
377
+ if (value === 0) {
378
+ return false;
379
+ }
380
+ if (value === 1) {
381
+ return true;
382
+ }
383
+ }
384
+ if (typeof value === "string") {
385
+ const lower = value.toLowerCase();
386
+ if (lower === "false" || lower === "true") {
387
+ logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
388
+ }
389
+ if (lower === "false") {
390
+ return false;
391
+ }
392
+ if (lower === "true") {
393
+ return true;
394
+ }
395
+ }
396
+ if (typeof value === "boolean") {
397
+ return value;
398
+ }
399
+ throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`);
400
+ }, "expectBoolean");
401
+ var expectNumber = /* @__PURE__ */ __name((value) => {
402
+ if (value === null || value === void 0) {
403
+ return void 0;
404
+ }
405
+ if (typeof value === "string") {
406
+ const parsed = parseFloat(value);
407
+ if (!Number.isNaN(parsed)) {
408
+ if (String(parsed) !== String(value)) {
409
+ logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));
410
+ }
411
+ return parsed;
412
+ }
413
+ }
414
+ if (typeof value === "number") {
415
+ return value;
416
+ }
417
+ throw new TypeError(`Expected number, got ${typeof value}: ${value}`);
418
+ }, "expectNumber");
419
+ var MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));
420
+ var expectFloat32 = /* @__PURE__ */ __name((value) => {
421
+ const expected = expectNumber(value);
422
+ if (expected !== void 0 && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {
423
+ if (Math.abs(expected) > MAX_FLOAT) {
424
+ throw new TypeError(`Expected 32-bit float, got ${value}`);
425
+ }
426
+ }
427
+ return expected;
428
+ }, "expectFloat32");
429
+ var expectLong = /* @__PURE__ */ __name((value) => {
430
+ if (value === null || value === void 0) {
431
+ return void 0;
432
+ }
433
+ if (Number.isInteger(value) && !Number.isNaN(value)) {
434
+ return value;
435
+ }
436
+ throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);
437
+ }, "expectLong");
438
+ var expectInt = expectLong;
439
+ var expectInt32 = /* @__PURE__ */ __name((value) => expectSizedInt(value, 32), "expectInt32");
440
+ var expectShort = /* @__PURE__ */ __name((value) => expectSizedInt(value, 16), "expectShort");
441
+ var expectByte = /* @__PURE__ */ __name((value) => expectSizedInt(value, 8), "expectByte");
442
+ var expectSizedInt = /* @__PURE__ */ __name((value, size) => {
443
+ const expected = expectLong(value);
444
+ if (expected !== void 0 && castInt(expected, size) !== expected) {
445
+ throw new TypeError(`Expected ${size}-bit integer, got ${value}`);
446
+ }
447
+ return expected;
448
+ }, "expectSizedInt");
449
+ var castInt = /* @__PURE__ */ __name((value, size) => {
450
+ switch (size) {
451
+ case 32:
452
+ return Int32Array.of(value)[0];
453
+ case 16:
454
+ return Int16Array.of(value)[0];
455
+ case 8:
456
+ return Int8Array.of(value)[0];
457
+ }
458
+ }, "castInt");
459
+ var expectNonNull = /* @__PURE__ */ __name((value, location) => {
460
+ if (value === null || value === void 0) {
461
+ if (location) {
462
+ throw new TypeError(`Expected a non-null value for ${location}`);
463
+ }
464
+ throw new TypeError("Expected a non-null value");
465
+ }
466
+ return value;
467
+ }, "expectNonNull");
468
+ var expectObject = /* @__PURE__ */ __name((value) => {
469
+ if (value === null || value === void 0) {
470
+ return void 0;
471
+ }
472
+ if (typeof value === "object" && !Array.isArray(value)) {
473
+ return value;
474
+ }
475
+ const receivedType = Array.isArray(value) ? "array" : typeof value;
476
+ throw new TypeError(`Expected object, got ${receivedType}: ${value}`);
477
+ }, "expectObject");
478
+ var expectString = /* @__PURE__ */ __name((value) => {
479
+ if (value === null || value === void 0) {
480
+ return void 0;
481
+ }
482
+ if (typeof value === "string") {
483
+ return value;
484
+ }
485
+ if (["boolean", "number", "bigint"].includes(typeof value)) {
486
+ logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));
487
+ return String(value);
488
+ }
489
+ throw new TypeError(`Expected string, got ${typeof value}: ${value}`);
490
+ }, "expectString");
491
+ var expectUnion = /* @__PURE__ */ __name((value) => {
492
+ if (value === null || value === void 0) {
493
+ return void 0;
494
+ }
495
+ const asObject = expectObject(value);
496
+ const setKeys = Object.entries(asObject).filter(([, v]) => v != null).map(([k]) => k);
497
+ if (setKeys.length === 0) {
498
+ throw new TypeError(`Unions must have exactly one non-null member. None were found.`);
499
+ }
500
+ if (setKeys.length > 1) {
501
+ throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`);
502
+ }
503
+ return asObject;
504
+ }, "expectUnion");
505
+ var strictParseDouble = /* @__PURE__ */ __name((value) => {
506
+ if (typeof value == "string") {
507
+ return expectNumber(parseNumber(value));
508
+ }
509
+ return expectNumber(value);
510
+ }, "strictParseDouble");
511
+ var strictParseFloat = strictParseDouble;
512
+ var strictParseFloat32 = /* @__PURE__ */ __name((value) => {
513
+ if (typeof value == "string") {
514
+ return expectFloat32(parseNumber(value));
515
+ }
516
+ return expectFloat32(value);
517
+ }, "strictParseFloat32");
518
+ var NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;
519
+ var parseNumber = /* @__PURE__ */ __name((value) => {
520
+ const matches = value.match(NUMBER_REGEX);
521
+ if (matches === null || matches[0].length !== value.length) {
522
+ throw new TypeError(`Expected real number, got implicit NaN`);
523
+ }
524
+ return parseFloat(value);
525
+ }, "parseNumber");
526
+ var limitedParseDouble = /* @__PURE__ */ __name((value) => {
527
+ if (typeof value == "string") {
528
+ return parseFloatString(value);
529
+ }
530
+ return expectNumber(value);
531
+ }, "limitedParseDouble");
532
+ var handleFloat = limitedParseDouble;
533
+ var limitedParseFloat = limitedParseDouble;
534
+ var limitedParseFloat32 = /* @__PURE__ */ __name((value) => {
535
+ if (typeof value == "string") {
536
+ return parseFloatString(value);
537
+ }
538
+ return expectFloat32(value);
539
+ }, "limitedParseFloat32");
540
+ var parseFloatString = /* @__PURE__ */ __name((value) => {
541
+ switch (value) {
542
+ case "NaN":
543
+ return NaN;
544
+ case "Infinity":
545
+ return Infinity;
546
+ case "-Infinity":
547
+ return -Infinity;
548
+ default:
549
+ throw new Error(`Unable to parse float value: ${value}`);
550
+ }
551
+ }, "parseFloatString");
552
+ var strictParseLong = /* @__PURE__ */ __name((value) => {
553
+ if (typeof value === "string") {
554
+ return expectLong(parseNumber(value));
555
+ }
556
+ return expectLong(value);
557
+ }, "strictParseLong");
558
+ var strictParseInt = strictParseLong;
559
+ var strictParseInt32 = /* @__PURE__ */ __name((value) => {
560
+ if (typeof value === "string") {
561
+ return expectInt32(parseNumber(value));
562
+ }
563
+ return expectInt32(value);
564
+ }, "strictParseInt32");
565
+ var strictParseShort = /* @__PURE__ */ __name((value) => {
566
+ if (typeof value === "string") {
567
+ return expectShort(parseNumber(value));
568
+ }
569
+ return expectShort(value);
570
+ }, "strictParseShort");
571
+ var strictParseByte = /* @__PURE__ */ __name((value) => {
572
+ if (typeof value === "string") {
573
+ return expectByte(parseNumber(value));
574
+ }
575
+ return expectByte(value);
576
+ }, "strictParseByte");
577
+ var stackTraceWarning = /* @__PURE__ */ __name((message) => {
578
+ return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n");
579
+ }, "stackTraceWarning");
580
+ var logger = {
581
+ warn: console.warn
582
+ };
583
+
584
+ // src/date-utils.ts
585
+ var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
586
+ var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
587
+ function dateToUtcString(date) {
588
+ const year = date.getUTCFullYear();
589
+ const month = date.getUTCMonth();
590
+ const dayOfWeek = date.getUTCDay();
591
+ const dayOfMonthInt = date.getUTCDate();
592
+ const hoursInt = date.getUTCHours();
593
+ const minutesInt = date.getUTCMinutes();
594
+ const secondsInt = date.getUTCSeconds();
595
+ const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`;
596
+ const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`;
597
+ const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`;
598
+ const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`;
599
+ return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`;
600
+ }
601
+ __name(dateToUtcString, "dateToUtcString");
602
+ var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);
603
+ var parseRfc3339DateTime = /* @__PURE__ */ __name((value) => {
604
+ if (value === null || value === void 0) {
605
+ return void 0;
606
+ }
607
+ if (typeof value !== "string") {
608
+ throw new TypeError("RFC-3339 date-times must be expressed as strings");
609
+ }
610
+ const match = RFC3339.exec(value);
611
+ if (!match) {
612
+ throw new TypeError("Invalid RFC-3339 date-time value");
613
+ }
614
+ const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;
615
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
616
+ const month = parseDateValue(monthStr, "month", 1, 12);
617
+ const day = parseDateValue(dayStr, "day", 1, 31);
618
+ return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
619
+ }, "parseRfc3339DateTime");
620
+ var RFC3339_WITH_OFFSET = new RegExp(
621
+ /^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/
622
+ );
623
+ var parseRfc3339DateTimeWithOffset = /* @__PURE__ */ __name((value) => {
624
+ if (value === null || value === void 0) {
625
+ return void 0;
626
+ }
627
+ if (typeof value !== "string") {
628
+ throw new TypeError("RFC-3339 date-times must be expressed as strings");
629
+ }
630
+ const match = RFC3339_WITH_OFFSET.exec(value);
631
+ if (!match) {
632
+ throw new TypeError("Invalid RFC-3339 date-time value");
633
+ }
634
+ const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;
635
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
636
+ const month = parseDateValue(monthStr, "month", 1, 12);
637
+ const day = parseDateValue(dayStr, "day", 1, 31);
638
+ const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
639
+ if (offsetStr.toUpperCase() != "Z") {
640
+ date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr));
641
+ }
642
+ return date;
643
+ }, "parseRfc3339DateTimeWithOffset");
644
+ var IMF_FIXDATE = new RegExp(
645
+ /^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/
646
+ );
647
+ var RFC_850_DATE = new RegExp(
648
+ /^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/
649
+ );
650
+ var ASC_TIME = new RegExp(
651
+ /^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/
652
+ );
653
+ var parseRfc7231DateTime = /* @__PURE__ */ __name((value) => {
654
+ if (value === null || value === void 0) {
655
+ return void 0;
656
+ }
657
+ if (typeof value !== "string") {
658
+ throw new TypeError("RFC-7231 date-times must be expressed as strings");
659
+ }
660
+ let match = IMF_FIXDATE.exec(value);
661
+ if (match) {
662
+ const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
663
+ return buildDate(
664
+ strictParseShort(stripLeadingZeroes(yearStr)),
665
+ parseMonthByShortName(monthStr),
666
+ parseDateValue(dayStr, "day", 1, 31),
667
+ { hours, minutes, seconds, fractionalMilliseconds }
668
+ );
669
+ }
670
+ match = RFC_850_DATE.exec(value);
671
+ if (match) {
672
+ const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
673
+ return adjustRfc850Year(
674
+ buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), {
675
+ hours,
676
+ minutes,
677
+ seconds,
678
+ fractionalMilliseconds
679
+ })
680
+ );
681
+ }
682
+ match = ASC_TIME.exec(value);
683
+ if (match) {
684
+ const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;
685
+ return buildDate(
686
+ strictParseShort(stripLeadingZeroes(yearStr)),
687
+ parseMonthByShortName(monthStr),
688
+ parseDateValue(dayStr.trimLeft(), "day", 1, 31),
689
+ { hours, minutes, seconds, fractionalMilliseconds }
690
+ );
691
+ }
692
+ throw new TypeError("Invalid RFC-7231 date-time value");
693
+ }, "parseRfc7231DateTime");
694
+ var parseEpochTimestamp = /* @__PURE__ */ __name((value) => {
695
+ if (value === null || value === void 0) {
696
+ return void 0;
697
+ }
698
+ let valueAsDouble;
699
+ if (typeof value === "number") {
700
+ valueAsDouble = value;
701
+ } else if (typeof value === "string") {
702
+ valueAsDouble = strictParseDouble(value);
703
+ } else {
704
+ throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");
705
+ }
706
+ if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) {
707
+ throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");
708
+ }
709
+ return new Date(Math.round(valueAsDouble * 1e3));
710
+ }, "parseEpochTimestamp");
711
+ var buildDate = /* @__PURE__ */ __name((year, month, day, time) => {
712
+ const adjustedMonth = month - 1;
713
+ validateDayOfMonth(year, adjustedMonth, day);
714
+ return new Date(
715
+ Date.UTC(
716
+ year,
717
+ adjustedMonth,
718
+ day,
719
+ parseDateValue(time.hours, "hour", 0, 23),
720
+ parseDateValue(time.minutes, "minute", 0, 59),
721
+ // seconds can go up to 60 for leap seconds
722
+ parseDateValue(time.seconds, "seconds", 0, 60),
723
+ parseMilliseconds(time.fractionalMilliseconds)
724
+ )
725
+ );
726
+ }, "buildDate");
727
+ var parseTwoDigitYear = /* @__PURE__ */ __name((value) => {
728
+ const thisYear = (/* @__PURE__ */ new Date()).getUTCFullYear();
729
+ const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value));
730
+ if (valueInThisCentury < thisYear) {
731
+ return valueInThisCentury + 100;
732
+ }
733
+ return valueInThisCentury;
734
+ }, "parseTwoDigitYear");
735
+ var FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1e3;
736
+ var adjustRfc850Year = /* @__PURE__ */ __name((input) => {
737
+ if (input.getTime() - (/* @__PURE__ */ new Date()).getTime() > FIFTY_YEARS_IN_MILLIS) {
738
+ return new Date(
739
+ Date.UTC(
740
+ input.getUTCFullYear() - 100,
741
+ input.getUTCMonth(),
742
+ input.getUTCDate(),
743
+ input.getUTCHours(),
744
+ input.getUTCMinutes(),
745
+ input.getUTCSeconds(),
746
+ input.getUTCMilliseconds()
747
+ )
748
+ );
749
+ }
750
+ return input;
751
+ }, "adjustRfc850Year");
752
+ var parseMonthByShortName = /* @__PURE__ */ __name((value) => {
753
+ const monthIdx = MONTHS.indexOf(value);
754
+ if (monthIdx < 0) {
755
+ throw new TypeError(`Invalid month: ${value}`);
756
+ }
757
+ return monthIdx + 1;
758
+ }, "parseMonthByShortName");
759
+ var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
760
+ var validateDayOfMonth = /* @__PURE__ */ __name((year, month, day) => {
761
+ let maxDays = DAYS_IN_MONTH[month];
762
+ if (month === 1 && isLeapYear(year)) {
763
+ maxDays = 29;
764
+ }
765
+ if (day > maxDays) {
766
+ throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`);
767
+ }
768
+ }, "validateDayOfMonth");
769
+ var isLeapYear = /* @__PURE__ */ __name((year) => {
770
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
771
+ }, "isLeapYear");
772
+ var parseDateValue = /* @__PURE__ */ __name((value, type, lower, upper) => {
773
+ const dateVal = strictParseByte(stripLeadingZeroes(value));
774
+ if (dateVal < lower || dateVal > upper) {
775
+ throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`);
776
+ }
777
+ return dateVal;
778
+ }, "parseDateValue");
779
+ var parseMilliseconds = /* @__PURE__ */ __name((value) => {
780
+ if (value === null || value === void 0) {
781
+ return 0;
782
+ }
783
+ return strictParseFloat32("0." + value) * 1e3;
784
+ }, "parseMilliseconds");
785
+ var parseOffsetToMilliseconds = /* @__PURE__ */ __name((value) => {
786
+ const directionStr = value[0];
787
+ let direction = 1;
788
+ if (directionStr == "+") {
789
+ direction = 1;
790
+ } else if (directionStr == "-") {
791
+ direction = -1;
792
+ } else {
793
+ throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`);
794
+ }
795
+ const hour = Number(value.substring(1, 3));
796
+ const minute = Number(value.substring(4, 6));
797
+ return direction * (hour * 60 + minute) * 60 * 1e3;
798
+ }, "parseOffsetToMilliseconds");
799
+ var stripLeadingZeroes = /* @__PURE__ */ __name((value) => {
800
+ let idx = 0;
801
+ while (idx < value.length - 1 && value.charAt(idx) === "0") {
802
+ idx++;
803
+ }
804
+ if (idx === 0) {
805
+ return value;
806
+ }
807
+ return value.slice(idx);
808
+ }, "stripLeadingZeroes");
809
+
810
+ // src/exceptions.ts
811
+ var _ServiceException = class _ServiceException extends Error {
812
+ constructor(options) {
813
+ super(options.message);
814
+ Object.setPrototypeOf(this, _ServiceException.prototype);
815
+ this.name = options.name;
816
+ this.$fault = options.$fault;
817
+ this.$metadata = options.$metadata;
818
+ }
819
+ };
820
+ __name(_ServiceException, "ServiceException");
821
+ var ServiceException = _ServiceException;
822
+ var decorateServiceException = /* @__PURE__ */ __name((exception, additions = {}) => {
823
+ Object.entries(additions).filter(([, v]) => v !== void 0).forEach(([k, v]) => {
824
+ if (exception[k] == void 0 || exception[k] === "") {
825
+ exception[k] = v;
826
+ }
827
+ });
828
+ const message = exception.message || exception.Message || "UnknownError";
829
+ exception.message = message;
830
+ delete exception.Message;
831
+ return exception;
832
+ }, "decorateServiceException");
833
+
834
+ // src/default-error-handler.ts
835
+ var throwDefaultError = /* @__PURE__ */ __name(({ output, parsedBody, exceptionCtor, errorCode }) => {
836
+ const $metadata = deserializeMetadata(output);
837
+ const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : void 0;
838
+ const response = new exceptionCtor({
839
+ name: (parsedBody == null ? void 0 : parsedBody.code) || (parsedBody == null ? void 0 : parsedBody.Code) || errorCode || statusCode || "UnknownError",
840
+ $fault: "client",
841
+ $metadata
842
+ });
843
+ throw decorateServiceException(response, parsedBody);
844
+ }, "throwDefaultError");
845
+ var withBaseException = /* @__PURE__ */ __name((ExceptionCtor) => {
846
+ return ({ output, parsedBody, errorCode }) => {
847
+ throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
848
+ };
849
+ }, "withBaseException");
850
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
851
+ httpStatusCode: output.statusCode,
852
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
853
+ extendedRequestId: output.headers["x-amz-id-2"],
854
+ cfId: output.headers["x-amz-cf-id"]
855
+ }), "deserializeMetadata");
856
+
857
+ // src/defaults-mode.ts
858
+ var loadConfigsForDefaultMode = /* @__PURE__ */ __name((mode) => {
859
+ switch (mode) {
860
+ case "standard":
861
+ return {
862
+ retryMode: "standard",
863
+ connectionTimeout: 3100
864
+ };
865
+ case "in-region":
866
+ return {
867
+ retryMode: "standard",
868
+ connectionTimeout: 1100
869
+ };
870
+ case "cross-region":
871
+ return {
872
+ retryMode: "standard",
873
+ connectionTimeout: 3100
874
+ };
875
+ case "mobile":
876
+ return {
877
+ retryMode: "standard",
878
+ connectionTimeout: 3e4
879
+ };
880
+ default:
881
+ return {};
882
+ }
883
+ }, "loadConfigsForDefaultMode");
884
+
885
+ // src/emitWarningIfUnsupportedVersion.ts
886
+ var warningEmitted = false;
887
+ var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
888
+ if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) {
889
+ warningEmitted = true;
890
+ }
891
+ }, "emitWarningIfUnsupportedVersion");
892
+
893
+ // src/extensions/checksum.ts
894
+
895
+ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
896
+ const checksumAlgorithms = [];
897
+ for (const id in import_types.AlgorithmId) {
898
+ const algorithmId = import_types.AlgorithmId[id];
899
+ if (runtimeConfig[algorithmId] === void 0) {
900
+ continue;
901
+ }
902
+ checksumAlgorithms.push({
903
+ algorithmId: () => algorithmId,
904
+ checksumConstructor: () => runtimeConfig[algorithmId]
905
+ });
906
+ }
907
+ return {
908
+ _checksumAlgorithms: checksumAlgorithms,
909
+ addChecksumAlgorithm(algo) {
910
+ this._checksumAlgorithms.push(algo);
911
+ },
912
+ checksumAlgorithms() {
913
+ return this._checksumAlgorithms;
914
+ }
915
+ };
916
+ }, "getChecksumConfiguration");
917
+ var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
918
+ const runtimeConfig = {};
919
+ clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
920
+ runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
921
+ });
922
+ return runtimeConfig;
923
+ }, "resolveChecksumRuntimeConfig");
924
+
925
+ // src/extensions/retry.ts
926
+ var getRetryConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
927
+ let _retryStrategy = runtimeConfig.retryStrategy;
928
+ return {
929
+ setRetryStrategy(retryStrategy) {
930
+ _retryStrategy = retryStrategy;
931
+ },
932
+ retryStrategy() {
933
+ return _retryStrategy;
934
+ }
935
+ };
936
+ }, "getRetryConfiguration");
937
+ var resolveRetryRuntimeConfig = /* @__PURE__ */ __name((retryStrategyConfiguration) => {
938
+ const runtimeConfig = {};
939
+ runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
940
+ return runtimeConfig;
941
+ }, "resolveRetryRuntimeConfig");
942
+
943
+ // src/extensions/defaultExtensionConfiguration.ts
944
+ var getDefaultExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
945
+ return {
946
+ ...getChecksumConfiguration(runtimeConfig),
947
+ ...getRetryConfiguration(runtimeConfig)
948
+ };
949
+ }, "getDefaultExtensionConfiguration");
950
+ var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
951
+ var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
952
+ return {
953
+ ...resolveChecksumRuntimeConfig(config),
954
+ ...resolveRetryRuntimeConfig(config)
955
+ };
956
+ }, "resolveDefaultRuntimeConfig");
957
+
958
+ // src/extended-encode-uri-component.ts
959
+ function extendedEncodeURIComponent(str) {
960
+ return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
961
+ return "%" + c.charCodeAt(0).toString(16).toUpperCase();
962
+ });
963
+ }
964
+ __name(extendedEncodeURIComponent, "extendedEncodeURIComponent");
965
+
966
+ // src/get-array-if-single-item.ts
967
+ var getArrayIfSingleItem = /* @__PURE__ */ __name((mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray], "getArrayIfSingleItem");
968
+
969
+ // src/get-value-from-text-node.ts
970
+ var getValueFromTextNode = /* @__PURE__ */ __name((obj) => {
971
+ const textNodeName = "#text";
972
+ for (const key in obj) {
973
+ if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) {
974
+ obj[key] = obj[key][textNodeName];
975
+ } else if (typeof obj[key] === "object" && obj[key] !== null) {
976
+ obj[key] = getValueFromTextNode(obj[key]);
977
+ }
978
+ }
979
+ return obj;
980
+ }, "getValueFromTextNode");
981
+
982
+ // src/lazy-json.ts
983
+ var StringWrapper = /* @__PURE__ */ __name(function() {
984
+ const Class = Object.getPrototypeOf(this).constructor;
985
+ const Constructor = Function.bind.apply(String, [null, ...arguments]);
986
+ const instance = new Constructor();
987
+ Object.setPrototypeOf(instance, Class.prototype);
988
+ return instance;
989
+ }, "StringWrapper");
990
+ StringWrapper.prototype = Object.create(String.prototype, {
991
+ constructor: {
992
+ value: StringWrapper,
993
+ enumerable: false,
994
+ writable: true,
995
+ configurable: true
996
+ }
997
+ });
998
+ Object.setPrototypeOf(StringWrapper, String);
999
+ var _LazyJsonString = class _LazyJsonString extends StringWrapper {
1000
+ deserializeJSON() {
1001
+ return JSON.parse(super.toString());
1002
+ }
1003
+ toJSON() {
1004
+ return super.toString();
1005
+ }
1006
+ static fromObject(object) {
1007
+ if (object instanceof _LazyJsonString) {
1008
+ return object;
1009
+ } else if (object instanceof String || typeof object === "string") {
1010
+ return new _LazyJsonString(object);
1011
+ }
1012
+ return new _LazyJsonString(JSON.stringify(object));
1013
+ }
1014
+ };
1015
+ __name(_LazyJsonString, "LazyJsonString");
1016
+ var LazyJsonString = _LazyJsonString;
1017
+
1018
+ // src/object-mapping.ts
1019
+ function map(arg0, arg1, arg2) {
1020
+ let target;
1021
+ let filter;
1022
+ let instructions;
1023
+ if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {
1024
+ target = {};
1025
+ instructions = arg0;
1026
+ } else {
1027
+ target = arg0;
1028
+ if (typeof arg1 === "function") {
1029
+ filter = arg1;
1030
+ instructions = arg2;
1031
+ return mapWithFilter(target, filter, instructions);
1032
+ } else {
1033
+ instructions = arg1;
1034
+ }
1035
+ }
1036
+ for (const key of Object.keys(instructions)) {
1037
+ if (!Array.isArray(instructions[key])) {
1038
+ target[key] = instructions[key];
1039
+ continue;
1040
+ }
1041
+ applyInstruction(target, null, instructions, key);
1042
+ }
1043
+ return target;
1044
+ }
1045
+ __name(map, "map");
1046
+ var convertMap = /* @__PURE__ */ __name((target) => {
1047
+ const output = {};
1048
+ for (const [k, v] of Object.entries(target || {})) {
1049
+ output[k] = [, v];
1050
+ }
1051
+ return output;
1052
+ }, "convertMap");
1053
+ var take = /* @__PURE__ */ __name((source, instructions) => {
1054
+ const out = {};
1055
+ for (const key in instructions) {
1056
+ applyInstruction(out, source, instructions, key);
1057
+ }
1058
+ return out;
1059
+ }, "take");
1060
+ var mapWithFilter = /* @__PURE__ */ __name((target, filter, instructions) => {
1061
+ return map(
1062
+ target,
1063
+ Object.entries(instructions).reduce(
1064
+ (_instructions, [key, value]) => {
1065
+ if (Array.isArray(value)) {
1066
+ _instructions[key] = value;
1067
+ } else {
1068
+ if (typeof value === "function") {
1069
+ _instructions[key] = [filter, value()];
1070
+ } else {
1071
+ _instructions[key] = [filter, value];
1072
+ }
1073
+ }
1074
+ return _instructions;
1075
+ },
1076
+ {}
1077
+ )
1078
+ );
1079
+ }, "mapWithFilter");
1080
+ var applyInstruction = /* @__PURE__ */ __name((target, source, instructions, targetKey) => {
1081
+ if (source !== null) {
1082
+ let instruction = instructions[targetKey];
1083
+ if (typeof instruction === "function") {
1084
+ instruction = [, instruction];
1085
+ }
1086
+ const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
1087
+ if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) {
1088
+ target[targetKey] = valueFn(source[sourceKey]);
1089
+ }
1090
+ return;
1091
+ }
1092
+ let [filter, value] = instructions[targetKey];
1093
+ if (typeof value === "function") {
1094
+ let _value;
1095
+ const defaultFilterPassed = filter === void 0 && (_value = value()) != null;
1096
+ const customFilterPassed = typeof filter === "function" && !!filter(void 0) || typeof filter !== "function" && !!filter;
1097
+ if (defaultFilterPassed) {
1098
+ target[targetKey] = _value;
1099
+ } else if (customFilterPassed) {
1100
+ target[targetKey] = value();
1101
+ }
1102
+ } else {
1103
+ const defaultFilterPassed = filter === void 0 && value != null;
1104
+ const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter;
1105
+ if (defaultFilterPassed || customFilterPassed) {
1106
+ target[targetKey] = value;
1107
+ }
1108
+ }
1109
+ }, "applyInstruction");
1110
+ var nonNullish = /* @__PURE__ */ __name((_) => _ != null, "nonNullish");
1111
+ var pass = /* @__PURE__ */ __name((_) => _, "pass");
1112
+
1113
+ // src/resolve-path.ts
1114
+ var resolvedPath = /* @__PURE__ */ __name((resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
1115
+ if (input != null && input[memberName] !== void 0) {
1116
+ const labelValue = labelValueProvider();
1117
+ if (labelValue.length <= 0) {
1118
+ throw new Error("Empty value provided for input HTTP label: " + memberName + ".");
1119
+ }
1120
+ resolvedPath2 = resolvedPath2.replace(
1121
+ uriLabel,
1122
+ isGreedyLabel ? labelValue.split("/").map((segment) => extendedEncodeURIComponent(segment)).join("/") : extendedEncodeURIComponent(labelValue)
1123
+ );
1124
+ } else {
1125
+ throw new Error("No value provided for input HTTP label: " + memberName + ".");
1126
+ }
1127
+ return resolvedPath2;
1128
+ }, "resolvedPath");
1129
+
1130
+ // src/ser-utils.ts
1131
+ var serializeFloat = /* @__PURE__ */ __name((value) => {
1132
+ if (value !== value) {
1133
+ return "NaN";
1134
+ }
1135
+ switch (value) {
1136
+ case Infinity:
1137
+ return "Infinity";
1138
+ case -Infinity:
1139
+ return "-Infinity";
1140
+ default:
1141
+ return value;
1142
+ }
1143
+ }, "serializeFloat");
1144
+
1145
+ // src/serde-json.ts
1146
+ var _json = /* @__PURE__ */ __name((obj) => {
1147
+ if (obj == null) {
1148
+ return {};
1149
+ }
1150
+ if (Array.isArray(obj)) {
1151
+ return obj.filter((_) => _ != null).map(_json);
1152
+ }
1153
+ if (typeof obj === "object") {
1154
+ const target = {};
1155
+ for (const key of Object.keys(obj)) {
1156
+ if (obj[key] == null) {
1157
+ continue;
1158
+ }
1159
+ target[key] = _json(obj[key]);
1160
+ }
1161
+ return target;
1162
+ }
1163
+ return obj;
1164
+ }, "_json");
1165
+
1166
+ // src/split-every.ts
1167
+ function splitEvery(value, delimiter, numDelimiters) {
1168
+ if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
1169
+ throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
1170
+ }
1171
+ const segments = value.split(delimiter);
1172
+ if (numDelimiters === 1) {
1173
+ return segments;
1174
+ }
1175
+ const compoundSegments = [];
1176
+ let currentSegment = "";
1177
+ for (let i = 0; i < segments.length; i++) {
1178
+ if (currentSegment === "") {
1179
+ currentSegment = segments[i];
1180
+ } else {
1181
+ currentSegment += delimiter + segments[i];
1182
+ }
1183
+ if ((i + 1) % numDelimiters === 0) {
1184
+ compoundSegments.push(currentSegment);
1185
+ currentSegment = "";
1186
+ }
1187
+ }
1188
+ if (currentSegment !== "") {
1189
+ compoundSegments.push(currentSegment);
1190
+ }
1191
+ return compoundSegments;
1192
+ }
1193
+ __name(splitEvery, "splitEvery");
1194
+ // Annotate the CommonJS export names for ESM import in node:
1195
+
1196
+ 0 && (module.exports = {
1197
+ Client,
1198
+ Command,
1199
+ LazyJsonString,
1200
+ NoOpLogger,
1201
+ SENSITIVE_STRING,
1202
+ ServiceException,
1203
+ StringWrapper,
1204
+ _json,
1205
+ collectBody,
1206
+ convertMap,
1207
+ createAggregatedClient,
1208
+ dateToUtcString,
1209
+ decorateServiceException,
1210
+ emitWarningIfUnsupportedVersion,
1211
+ expectBoolean,
1212
+ expectByte,
1213
+ expectFloat32,
1214
+ expectInt,
1215
+ expectInt32,
1216
+ expectLong,
1217
+ expectNonNull,
1218
+ expectNumber,
1219
+ expectObject,
1220
+ expectShort,
1221
+ expectString,
1222
+ expectUnion,
1223
+ extendedEncodeURIComponent,
1224
+ getArrayIfSingleItem,
1225
+ getDefaultClientConfiguration,
1226
+ getDefaultExtensionConfiguration,
1227
+ getValueFromTextNode,
1228
+ handleFloat,
1229
+ limitedParseDouble,
1230
+ limitedParseFloat,
1231
+ limitedParseFloat32,
1232
+ loadConfigsForDefaultMode,
1233
+ logger,
1234
+ map,
1235
+ parseBoolean,
1236
+ parseEpochTimestamp,
1237
+ parseRfc3339DateTime,
1238
+ parseRfc3339DateTimeWithOffset,
1239
+ parseRfc7231DateTime,
1240
+ resolveDefaultRuntimeConfig,
1241
+ resolvedPath,
1242
+ serializeFloat,
1243
+ splitEvery,
1244
+ strictParseByte,
1245
+ strictParseDouble,
1246
+ strictParseFloat,
1247
+ strictParseFloat32,
1248
+ strictParseInt,
1249
+ strictParseInt32,
1250
+ strictParseLong,
1251
+ strictParseShort,
1252
+ take,
1253
+ throwDefaultError,
1254
+ withBaseException
1255
+ });
1256
+