@cdk8s/awscdk-resolver 0.0.66 → 0.0.75

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 (538) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +19 -9
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +4 -2
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +182 -114
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +24 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -1
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +0 -1
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +5 -17
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +18 -1
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +83 -35
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +48 -10
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +15 -12
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +5 -4
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +3 -2
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +5 -3
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -1
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -8
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +11 -13
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +3 -2
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +3 -2
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -2
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +3 -2
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +4 -4
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +5 -5
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +3 -2
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +2 -1
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +2 -1
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +2 -1
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +2 -1
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +4 -4
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +5 -4
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +5 -4
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +5 -4
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +2 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +5 -5
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +5 -4
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +2 -1
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +6 -6
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +5 -3
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +3 -2
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -1
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -1
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +4 -3
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +2 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +2 -1
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +5 -2
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +2 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +2 -1
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +4 -3
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +4 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +5 -4
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -1
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +11 -9
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +2 -1
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +2 -1
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +3 -2
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +2 -1
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +3 -2
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +4 -3
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +5 -4
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +2 -1
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +2 -1
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +2 -1
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +2 -1
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +2 -1
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +4 -4
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +3 -2
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +2 -1
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +73 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +2 -1
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +2 -1
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -1
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +2 -1
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +2 -1
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +2 -1
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +2 -1
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +7 -7
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +8 -7
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +6 -5
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +5 -4
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +3 -2
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +2 -1
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +4 -5
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +4 -2
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +6 -5
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +2 -1
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +4 -4
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +9 -8
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +3 -2
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +2 -1
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +2 -1
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +2 -1
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +4 -3
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +5 -4
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +11 -10
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1856 -1936
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +269 -207
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +9 -0
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -2
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -2
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +52 -0
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateOrganizationsAccessCommand.d.ts +9 -0
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateTypeCommand.d.ts +9 -0
  111. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/BatchDescribeTypeConfigurationsCommand.d.ts +9 -0
  112. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CancelUpdateStackCommand.d.ts +9 -0
  113. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +9 -0
  114. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateChangeSetCommand.d.ts +9 -0
  115. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +9 -0
  116. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackCommand.d.ts +9 -0
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackInstancesCommand.d.ts +9 -0
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackSetCommand.d.ts +9 -0
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateOrganizationsAccessCommand.d.ts +9 -0
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateTypeCommand.d.ts +9 -0
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteChangeSetCommand.d.ts +9 -0
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +9 -0
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +9 -0
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +9 -0
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackSetCommand.d.ts +9 -0
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeregisterTypeCommand.d.ts +9 -0
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +9 -0
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +9 -0
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +9 -0
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +9 -0
  131. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeOrganizationsAccessCommand.d.ts +9 -0
  132. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribePublisherCommand.d.ts +9 -0
  133. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +9 -0
  134. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackDriftDetectionStatusCommand.d.ts +9 -0
  135. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +9 -0
  136. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +9 -0
  137. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceCommand.d.ts +9 -0
  138. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +9 -0
  139. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourcesCommand.d.ts +9 -0
  140. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetCommand.d.ts +9 -0
  141. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetOperationCommand.d.ts +9 -0
  142. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +9 -0
  143. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeCommand.d.ts +9 -0
  144. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeRegistrationCommand.d.ts +9 -0
  145. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackDriftCommand.d.ts +9 -0
  146. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackResourceDriftCommand.d.ts +9 -0
  147. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackSetDriftCommand.d.ts +9 -0
  148. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +9 -0
  149. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +9 -0
  150. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +9 -0
  151. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetStackPolicyCommand.d.ts +9 -0
  152. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +9 -0
  153. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateSummaryCommand.d.ts +9 -0
  154. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ImportStacksToStackSetCommand.d.ts +9 -0
  155. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +9 -0
  156. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListExportsCommand.d.ts +9 -0
  157. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +9 -0
  158. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListImportsCommand.d.ts +9 -0
  159. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +9 -0
  160. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +9 -0
  161. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +9 -0
  162. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstanceResourceDriftsCommand.d.ts +9 -0
  163. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstancesCommand.d.ts +9 -0
  164. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +9 -0
  165. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +39 -0
  166. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +9 -0
  167. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +9 -0
  168. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +9 -0
  169. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStacksCommand.d.ts +9 -0
  170. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +9 -0
  171. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +9 -0
  172. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +9 -0
  173. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +9 -0
  174. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +9 -0
  175. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +9 -0
  176. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +9 -0
  177. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +9 -0
  178. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +9 -0
  179. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +9 -0
  180. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +11 -4
  181. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +10 -1
  182. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +9 -0
  183. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +9 -0
  184. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +9 -0
  185. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +9 -0
  186. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +9 -0
  187. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +9 -0
  188. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +9 -0
  189. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +9 -0
  190. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +9 -0
  191. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
  192. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +0 -1
  193. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +23 -24
  194. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +26 -0
  195. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  196. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  197. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  198. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  199. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  200. package/node_modules/@aws-sdk/client-cloudformation/package.json +41 -42
  201. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
  202. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -49
  203. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
  204. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
  205. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -40
  206. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  209. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  210. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  211. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  212. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
  213. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +32 -32
  214. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  215. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
  216. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
  217. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
  218. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
  219. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
  220. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
  221. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
  222. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
  223. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  224. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  225. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  226. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  227. package/node_modules/@aws-sdk/client-sso/package.json +38 -38
  228. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
  229. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +7 -50
  230. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
  231. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
  232. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +1 -40
  233. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +1 -1
  234. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +2 -1
  238. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  239. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
  240. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +89 -89
  241. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
  242. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
  243. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  244. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -2
  245. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +9 -0
  246. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +9 -0
  247. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +9 -0
  248. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +9 -0
  249. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
  250. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  251. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  252. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  253. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  254. package/node_modules/@aws-sdk/client-sso-oidc/package.json +40 -40
  255. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
  256. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -44
  257. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
  258. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
  259. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +2 -34
  260. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +3 -1
  261. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +1 -1
  262. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  263. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  264. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  265. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  266. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  267. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  268. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  269. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  270. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
  271. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +98 -98
  272. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
  273. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
  274. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  275. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -2
  276. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -0
  277. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +9 -0
  278. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +9 -0
  279. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +9 -0
  280. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +9 -0
  281. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +9 -0
  282. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +9 -0
  283. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +9 -0
  284. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +9 -0
  285. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
  286. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  287. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  288. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  289. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  290. package/node_modules/@aws-sdk/client-sts/package.json +39 -40
  291. package/node_modules/@aws-sdk/core/CHANGELOG.md +35 -0
  292. package/node_modules/@aws-sdk/core/dist-cjs/index.js +126 -1
  293. package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
  294. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
  295. package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
  296. package/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
  297. package/node_modules/@aws-sdk/core/dist-es/protocols/index.js +2 -0
  298. package/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
  299. package/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
  300. package/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
  301. package/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +2 -0
  302. package/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
  303. package/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
  304. package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
  305. package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +2 -0
  306. package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
  307. package/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
  308. package/node_modules/@aws-sdk/core/package.json +8 -7
  309. package/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
  310. package/node_modules/@aws-sdk/core/src/protocols/index.ts +2 -0
  311. package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
  312. package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
  313. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  314. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  315. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  316. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  317. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  318. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  319. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  320. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  321. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  322. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  323. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  324. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  325. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  326. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  327. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  328. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  329. package/node_modules/@aws-sdk/types/package.json +3 -3
  330. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +2 -0
  331. package/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  332. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
  333. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
  334. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  335. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +2 -0
  336. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  337. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  338. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  339. package/node_modules/@smithy/abort-controller/package.json +3 -3
  340. package/node_modules/@smithy/config-resolver/package.json +6 -6
  341. package/node_modules/@smithy/core/package.json +9 -9
  342. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +11 -1
  343. package/node_modules/@smithy/credential-provider-imds/dist-es/index.js +1 -0
  344. package/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +1 -1
  345. package/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -0
  346. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +4 -0
  347. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  348. package/node_modules/@smithy/eventstream-codec/package.json +5 -5
  349. package/node_modules/@smithy/fetch-http-handler/package.json +9 -9
  350. package/node_modules/@smithy/hash-node/package.json +5 -5
  351. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  352. package/node_modules/@smithy/is-array-buffer/package.json +2 -2
  353. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  354. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  355. package/node_modules/@smithy/middleware-retry/package.json +11 -11
  356. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -0
  357. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +5 -0
  358. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -2
  359. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +6 -2
  360. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +5 -2
  361. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -2
  362. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +6 -2
  363. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +5 -2
  364. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  365. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  366. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  367. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +14 -3
  368. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +30 -0
  369. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +16 -4
  370. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +2 -0
  371. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +2 -0
  372. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  373. package/node_modules/@smithy/property-provider/package.json +3 -3
  374. package/node_modules/@smithy/protocol-http/package.json +3 -3
  375. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  376. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  377. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  378. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  379. package/node_modules/@smithy/signature-v4/package.json +10 -10
  380. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -2
  381. package/node_modules/@smithy/smithy-client/dist-es/command.js +2 -2
  382. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +2 -1
  383. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +2 -1
  384. package/node_modules/@smithy/smithy-client/package.json +7 -7
  385. package/node_modules/@smithy/types/dist-types/client.d.ts +2 -2
  386. package/node_modules/@smithy/types/dist-types/serde.d.ts +10 -3
  387. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +2 -7
  388. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +10 -3
  389. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +27 -7
  390. package/node_modules/@smithy/types/dist-types/util.d.ts +22 -7
  391. package/node_modules/@smithy/types/package.json +2 -2
  392. package/node_modules/@smithy/url-parser/package.json +4 -4
  393. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +16 -1
  394. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +14 -1
  395. package/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +16 -1
  396. package/node_modules/@smithy/util-base64/dist-es/toBase64.js +14 -1
  397. package/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +4 -3
  398. package/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +4 -3
  399. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +4 -3
  400. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +4 -3
  401. package/node_modules/@smithy/util-base64/package.json +4 -3
  402. package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  403. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +1 -1
  404. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +1 -1
  405. package/node_modules/@smithy/util-body-length-node/package.json +2 -2
  406. package/node_modules/@smithy/util-buffer-from/package.json +3 -3
  407. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -2
  408. package/node_modules/@smithy/util-config-provider/package.json +2 -2
  409. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  410. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  411. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  412. package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
  413. package/node_modules/@smithy/util-middleware/package.json +3 -3
  414. package/node_modules/@smithy/util-retry/package.json +4 -4
  415. package/node_modules/@smithy/util-stream/package.json +12 -12
  416. package/node_modules/@smithy/util-uri-escape/package.json +2 -2
  417. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +9 -1
  418. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -1
  419. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +9 -1
  420. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -1
  421. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -1
  422. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -1
  423. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -1
  424. package/node_modules/@smithy/util-utf8/package.json +3 -3
  425. package/node_modules/@smithy/util-waiter/package.json +4 -4
  426. package/node_modules/uuid/CHANGELOG.md +45 -0
  427. package/node_modules/uuid/README.md +36 -75
  428. package/node_modules/uuid/dist/esm-browser/md5.js +23 -23
  429. package/node_modules/uuid/dist/esm-browser/parse.js +2 -2
  430. package/node_modules/uuid/dist/esm-browser/rng.js +4 -5
  431. package/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
  432. package/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
  433. package/node_modules/uuid/dist/esm-browser/v1.js +17 -17
  434. package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  435. package/node_modules/uuid/dist/esm-browser/v35.js +12 -10
  436. package/node_modules/uuid/dist/esm-browser/v4.js +9 -4
  437. package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  438. package/node_modules/uuid/dist/esm-browser/version.js +1 -1
  439. package/node_modules/uuid/dist/esm-node/stringify.js +7 -3
  440. package/node_modules/uuid/dist/esm-node/v1.js +2 -2
  441. package/node_modules/uuid/dist/esm-node/v35.js +6 -4
  442. package/node_modules/uuid/dist/esm-node/v4.js +7 -2
  443. package/node_modules/uuid/dist/esm-node/version.js +1 -1
  444. package/node_modules/uuid/dist/index.js +18 -18
  445. package/node_modules/uuid/dist/rng-browser.js +2 -3
  446. package/node_modules/uuid/dist/stringify.js +8 -3
  447. package/node_modules/uuid/dist/v1.js +2 -2
  448. package/node_modules/uuid/dist/v35.js +7 -5
  449. package/node_modules/uuid/dist/v4.js +8 -2
  450. package/node_modules/uuid/dist/version.js +1 -1
  451. package/node_modules/uuid/package.json +41 -41
  452. package/package.json +8 -8
  453. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CHANGELOG.md +0 -274
  454. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CONTRIBUTING.md +0 -18
  455. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/LICENSE.md +0 -9
  456. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/README.md +0 -466
  457. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/bin/uuid +0 -2
  458. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/index.js +0 -9
  459. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  460. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  461. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  462. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  463. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  464. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  465. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  466. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  467. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  468. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  469. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  470. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  471. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  472. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/version.js +0 -11
  473. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/index.js +0 -9
  474. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/md5.js +0 -13
  475. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/nil.js +0 -1
  476. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/parse.js +0 -35
  477. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/regex.js +0 -1
  478. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/rng.js +0 -12
  479. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  480. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  481. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v1.js +0 -95
  482. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v3.js +0 -4
  483. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v35.js +0 -66
  484. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v4.js +0 -29
  485. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v5.js +0 -4
  486. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/validate.js +0 -7
  487. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/version.js +0 -11
  488. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/index.js +0 -79
  489. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5-browser.js +0 -223
  490. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5.js +0 -23
  491. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/nil.js +0 -8
  492. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/parse.js +0 -45
  493. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/regex.js +0 -8
  494. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng-browser.js +0 -25
  495. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng.js +0 -24
  496. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1-browser.js +0 -104
  497. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1.js +0 -23
  498. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/stringify.js +0 -44
  499. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/uuid-bin.js +0 -85
  500. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v1.js +0 -107
  501. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v3.js +0 -16
  502. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v35.js +0 -80
  503. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v4.js +0 -43
  504. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v5.js +0 -16
  505. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/validate.js +0 -17
  506. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/version.js +0 -21
  507. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/package.json +0 -135
  508. package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/wrapper.mjs +0 -10
  509. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  510. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  511. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  512. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  513. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  514. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  515. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  516. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  517. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  518. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  519. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/index.js +0 -0
  520. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/md5.js +0 -0
  521. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/native.js +0 -0
  522. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/nil.js +0 -0
  523. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/parse.js +0 -0
  524. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/regex.js +0 -0
  525. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/rng.js +0 -0
  526. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/sha1.js +0 -0
  527. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/stringify.js +0 -0
  528. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v1.js +0 -0
  529. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v3.js +0 -0
  530. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v35.js +0 -0
  531. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v4.js +0 -0
  532. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/v5.js +0 -0
  533. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/validate.js +0 -0
  534. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/commonjs-browser/version.js +0 -0
  535. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/esm-browser/native.js +0 -0
  536. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/esm-node/native.js +0 -0
  537. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/native-browser.js +0 -0
  538. /package/node_modules/{@aws-sdk/client-cloudformation/node_modules/uuid → uuid}/dist/native.js +0 -0
@@ -1,19 +1,14 @@
1
1
  import { Command } from "./command";
2
2
  import { MiddlewareStack } from "./middleware";
3
3
  import { MetadataBearer } from "./response";
4
- import { Exact } from "./util";
4
+ import { OptionalParameter } from "./util";
5
5
  /**
6
6
  * @public
7
7
  *
8
8
  * A type which checks if the client configuration is optional.
9
9
  * If all entries of the client configuration are optional, it allows client creation without passing any config.
10
10
  */
11
- export type CheckOptionalClientConfig<T> = Exact<Partial<T>, T> extends true ? [
12
- ] | [
13
- T
14
- ] : [
15
- T
16
- ];
11
+ export type CheckOptionalClientConfig<T> = OptionalParameter<T>;
17
12
  /**
18
13
  * @public
19
14
  *
@@ -25,14 +25,21 @@ export interface StreamCollector {
25
25
  *
26
26
  * Request and Response serde util functions and settings for AWS services
27
27
  */
28
- export interface SerdeContext extends EndpointBearer {
28
+ export interface SerdeContext extends SerdeFunctions, EndpointBearer {
29
+ requestHandler: RequestHandler<any, any>;
30
+ disableHostPrefix: boolean;
31
+ }
32
+ /**
33
+ * @public
34
+ *
35
+ * Serde functions from the client config.
36
+ */
37
+ export interface SerdeFunctions {
29
38
  base64Encoder: Encoder;
30
39
  base64Decoder: Decoder;
31
40
  utf8Encoder: Encoder;
32
41
  utf8Decoder: Decoder;
33
42
  streamCollector: StreamCollector;
34
- requestHandler: RequestHandler<any, any>;
35
- disableHostPrefix: boolean;
36
43
  }
37
44
  /**
38
45
  * @public
@@ -18,15 +18,23 @@ export type Exact<Type1, Type2> = [
18
18
  /**
19
19
  * @public
20
20
  *
21
- * A function that, given a TypedArray of bytes, can produce a string
22
- * representation thereof.
21
+ * A function that, given a Uint8Array of bytes, can produce a string
22
+ * representation thereof. The function may optionally attempt to
23
+ * convert other input types to Uint8Array before encoding.
23
24
  *
24
25
  * @example An encoder function that converts bytes to hexadecimal
25
- * representation would return `'deadbeef'` when given
26
- * `new Uint8Array([0xde, 0xad, 0xbe, 0xef])`.
26
+ * representation would return `'hello'` when given
27
+ * `new Uint8Array([104, 101, 108, 108, 111])`.
27
28
  */
28
29
  export interface Encoder {
29
- (input: Uint8Array): string;
30
+ /**
31
+ * Caution: the `any` type on the input is for backwards compatibility.
32
+ * Runtime support is limited to Uint8Array and string by default.
33
+ *
34
+ * You may choose to support more encoder input types if overriding the default
35
+ * implementations.
36
+ */
37
+ (input: Uint8Array | string | any): string;
30
38
  }
31
39
  /**
32
40
  * @public
@@ -35,8 +43,8 @@ export interface Encoder {
35
43
  * string.
36
44
  *
37
45
  * @example A decoder function that converts bytes to hexadecimal
38
- * representation would return `new Uint8Array([0xde, 0xad, 0xbe, 0xef])` when
39
- * given the string `'deadbeef'`.
46
+ * representation would return `new Uint8Array([104, 101, 108, 108, 111])` when
47
+ * given the string `'hello'`.
40
48
  */
41
49
  export interface Decoder {
42
50
  (input: string): Uint8Array;
@@ -170,3 +178,15 @@ export interface RetryStrategy {
170
178
  */
171
179
  retry: <Input extends object, Output extends MetadataBearer>(next: FinalizeHandler<Input, Output>, args: FinalizeHandlerArguments<Input>) => Promise<FinalizeHandlerOutput<Output>>;
172
180
  }
181
+ /**
182
+ * @public
183
+ *
184
+ * Indicates the parameter may be omitted if the parameter object T
185
+ * is equivalent to a Partial<T>, i.e. all properties optional.
186
+ */
187
+ export type OptionalParameter<T> = Exact<Partial<T>, T> extends true ? [
188
+ ] | [
189
+ T
190
+ ] : [
191
+ T
192
+ ];
@@ -10,15 +10,23 @@ export type Exact<Type1, Type2> = [Type1] extends [Type2] ? ([Type2] extends [Ty
10
10
  /**
11
11
  * @public
12
12
  *
13
- * A function that, given a TypedArray of bytes, can produce a string
14
- * representation thereof.
13
+ * A function that, given a Uint8Array of bytes, can produce a string
14
+ * representation thereof. The function may optionally attempt to
15
+ * convert other input types to Uint8Array before encoding.
15
16
  *
16
17
  * @example An encoder function that converts bytes to hexadecimal
17
- * representation would return `'deadbeef'` when given
18
- * `new Uint8Array([0xde, 0xad, 0xbe, 0xef])`.
18
+ * representation would return `'hello'` when given
19
+ * `new Uint8Array([104, 101, 108, 108, 111])`.
19
20
  */
20
21
  export interface Encoder {
21
- (input: Uint8Array): string;
22
+ /**
23
+ * Caution: the `any` type on the input is for backwards compatibility.
24
+ * Runtime support is limited to Uint8Array and string by default.
25
+ *
26
+ * You may choose to support more encoder input types if overriding the default
27
+ * implementations.
28
+ */
29
+ (input: Uint8Array | string | any): string;
22
30
  }
23
31
  /**
24
32
  * @public
@@ -27,8 +35,8 @@ export interface Encoder {
27
35
  * string.
28
36
  *
29
37
  * @example A decoder function that converts bytes to hexadecimal
30
- * representation would return `new Uint8Array([0xde, 0xad, 0xbe, 0xef])` when
31
- * given the string `'deadbeef'`.
38
+ * representation would return `new Uint8Array([104, 101, 108, 108, 111])` when
39
+ * given the string `'hello'`.
32
40
  */
33
41
  export interface Decoder {
34
42
  (input: string): Uint8Array;
@@ -159,3 +167,10 @@ export interface RetryStrategy {
159
167
  */
160
168
  retry: <Input extends object, Output extends MetadataBearer>(next: FinalizeHandler<Input, Output>, args: FinalizeHandlerArguments<Input>) => Promise<FinalizeHandlerOutput<Output>>;
161
169
  }
170
+ /**
171
+ * @public
172
+ *
173
+ * Indicates the parameter may be omitted if the parameter object T
174
+ * is equivalent to a Partial<T>, i.e. all properties optional.
175
+ */
176
+ export type OptionalParameter<T> = Exact<Partial<T>, T> extends true ? [] | [T] : [T];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "2.10.1",
3
+ "version": "2.12.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline types",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "tslib": "^2.5.0"
27
+ "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=14.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline url-parser",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/querystring-parser": "^2.1.3",
26
- "@smithy/types": "^2.10.1",
27
- "tslib": "^2.5.0"
25
+ "@smithy/querystring-parser": "^2.2.0",
26
+ "@smithy/types": "^2.12.0",
27
+ "tslib": "^2.6.2"
28
28
  },
29
29
  "typesVersions": {
30
30
  "<4.0": {
@@ -1,8 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toBase64 = void 0;
4
+ const util_utf8_1 = require("@smithy/util-utf8");
4
5
  const constants_browser_1 = require("./constants.browser");
5
- function toBase64(input) {
6
+ function toBase64(_input) {
7
+ let input;
8
+ if (typeof _input === "string") {
9
+ input = (0, util_utf8_1.fromUtf8)(_input);
10
+ }
11
+ else {
12
+ input = _input;
13
+ }
14
+ const isArrayLike = typeof input === "object" && typeof input.length === "number";
15
+ const isUint8Array = typeof input === "object" &&
16
+ typeof input.byteOffset === "number" &&
17
+ typeof input.byteLength === "number";
18
+ if (!isArrayLike && !isUint8Array) {
19
+ throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
20
+ }
6
21
  let str = "";
7
22
  for (let i = 0; i < input.length; i += 3) {
8
23
  let bits = 0;
@@ -2,5 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toBase64 = void 0;
4
4
  const util_buffer_from_1 = require("@smithy/util-buffer-from");
5
- const toBase64 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64");
5
+ const util_utf8_1 = require("@smithy/util-utf8");
6
+ const toBase64 = (_input) => {
7
+ let input;
8
+ if (typeof _input === "string") {
9
+ input = (0, util_utf8_1.fromUtf8)(_input);
10
+ }
11
+ else {
12
+ input = _input;
13
+ }
14
+ if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
15
+ throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
16
+ }
17
+ return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64");
18
+ };
6
19
  exports.toBase64 = toBase64;
@@ -1,5 +1,20 @@
1
+ import { fromUtf8 } from "@smithy/util-utf8";
1
2
  import { alphabetByValue, bitsPerByte, bitsPerLetter, maxLetterValue } from "./constants.browser";
2
- export function toBase64(input) {
3
+ export function toBase64(_input) {
4
+ let input;
5
+ if (typeof _input === "string") {
6
+ input = fromUtf8(_input);
7
+ }
8
+ else {
9
+ input = _input;
10
+ }
11
+ const isArrayLike = typeof input === "object" && typeof input.length === "number";
12
+ const isUint8Array = typeof input === "object" &&
13
+ typeof input.byteOffset === "number" &&
14
+ typeof input.byteLength === "number";
15
+ if (!isArrayLike && !isUint8Array) {
16
+ throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
17
+ }
3
18
  let str = "";
4
19
  for (let i = 0; i < input.length; i += 3) {
5
20
  let bits = 0;
@@ -1,2 +1,15 @@
1
1
  import { fromArrayBuffer } from "@smithy/util-buffer-from";
2
- export const toBase64 = (input) => fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
2
+ import { fromUtf8 } from "@smithy/util-utf8";
3
+ export const toBase64 = (_input) => {
4
+ let input;
5
+ if (typeof _input === "string") {
6
+ input = fromUtf8(_input);
7
+ }
8
+ else {
9
+ input = _input;
10
+ }
11
+ if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
12
+ throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");
13
+ }
14
+ return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
15
+ };
@@ -1,8 +1,9 @@
1
1
  /**
2
- * Converts a Uint8Array of binary data to a base-64 encoded string.
2
+ * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string.
3
3
  *
4
- * @param input The binary data to encode
4
+ * @param _input - the binary data or string to encode.
5
+ * @returns base64 string.
5
6
  *
6
7
  * @see https://tools.ietf.org/html/rfc4648#section-4
7
8
  */
8
- export declare function toBase64(input: Uint8Array): string;
9
+ export declare function toBase64(_input: Uint8Array | string): string;
@@ -1,7 +1,8 @@
1
1
  /**
2
- * Converts a Uint8Array of binary data to a base-64 encoded string using
2
+ * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string using
3
3
  * Node.JS's `buffer` module.
4
4
  *
5
- * @param input The binary data to encode
5
+ * @param _input - the binary data or string to encode.
6
+ * @returns base64 string.
6
7
  */
7
- export declare const toBase64: (input: Uint8Array) => string;
8
+ export declare const toBase64: (_input: Uint8Array | string) => string;
@@ -1,8 +1,9 @@
1
1
  /**
2
- * Converts a Uint8Array of binary data to a base-64 encoded string.
2
+ * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string.
3
3
  *
4
- * @param input The binary data to encode
4
+ * @param _input - the binary data or string to encode.
5
+ * @returns base64 string.
5
6
  *
6
7
  * @see https://tools.ietf.org/html/rfc4648#section-4
7
8
  */
8
- export declare function toBase64(input: Uint8Array): string;
9
+ export declare function toBase64(_input: Uint8Array | string): string;
@@ -1,7 +1,8 @@
1
1
  /**
2
- * Converts a Uint8Array of binary data to a base-64 encoded string using
2
+ * Converts a Uint8Array of binary data or a utf-8 string to a base-64 encoded string using
3
3
  * Node.JS's `buffer` module.
4
4
  *
5
- * @param input The binary data to encode
5
+ * @param _input - the binary data or string to encode.
6
+ * @returns base64 string.
6
7
  */
7
- export declare const toBase64: (input: Uint8Array) => string;
8
+ export declare const toBase64: (_input: Uint8Array | string) => string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-base64",
3
- "version": "2.1.1",
3
+ "version": "2.3.0",
4
4
  "description": "A Base64 <-> UInt8Array converter",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -22,8 +22,9 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/util-buffer-from": "^2.1.1",
26
- "tslib": "^2.5.0"
25
+ "@smithy/util-buffer-from": "^2.2.0",
26
+ "@smithy/util-utf8": "^2.3.0",
27
+ "tslib": "^2.6.2"
27
28
  },
28
29
  "devDependencies": {
29
30
  "@tsconfig/recommended": "1.0.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@smithy/util-body-length-browser",
3
3
  "description": "Determines the length of a request body in browsers",
4
- "version": "2.1.1",
4
+ "version": "2.2.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline util-body-length-browser",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "tslib": "^2.5.0"
26
+ "tslib": "^2.6.2"
27
27
  },
28
28
  "typesVersions": {
29
29
  "<4.0": {
@@ -31,7 +31,7 @@ var calculateBodyLength = /* @__PURE__ */ __name((body) => {
31
31
  return 0;
32
32
  }
33
33
  if (typeof body === "string") {
34
- return Buffer.from(body).length;
34
+ return Buffer.byteLength(body);
35
35
  } else if (typeof body.byteLength === "number") {
36
36
  return body.byteLength;
37
37
  } else if (typeof body.size === "number") {
@@ -4,7 +4,7 @@ export const calculateBodyLength = (body) => {
4
4
  return 0;
5
5
  }
6
6
  if (typeof body === "string") {
7
- return Buffer.from(body).length;
7
+ return Buffer.byteLength(body);
8
8
  }
9
9
  else if (typeof body.byteLength === "number") {
10
10
  return body.byteLength;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@smithy/util-body-length-node",
3
3
  "description": "Determines the length of a request body in node.js",
4
- "version": "2.2.1",
4
+ "version": "2.3.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline util-body-length-node",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "tslib": "^2.5.0"
34
+ "tslib": "^2.6.2"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=14.0.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-buffer-from",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-buffer-from",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@smithy/is-array-buffer": "^2.1.1",
23
- "tslib": "^2.5.0"
22
+ "@smithy/is-array-buffer": "^2.2.0",
23
+ "tslib": "^2.6.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@tsconfig/recommended": "1.0.1",
@@ -57,8 +57,8 @@ var SelectorType = /* @__PURE__ */ ((SelectorType2) => {
57
57
  // Annotate the CommonJS export names for ESM import in node:
58
58
 
59
59
  0 && (module.exports = {
60
- SelectorType,
61
60
  booleanSelector,
62
- numberSelector
61
+ numberSelector,
62
+ SelectorType
63
63
  });
64
64
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-config-provider",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "Utilities package for configuration providers",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -24,7 +24,7 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "tslib": "^2.5.0"
27
+ "tslib": "^2.6.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "2.1.4",
3
+ "version": "2.2.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/property-provider": "^2.1.3",
26
- "@smithy/smithy-client": "^2.4.2",
27
- "@smithy/types": "^2.10.1",
25
+ "@smithy/property-provider": "^2.2.0",
26
+ "@smithy/smithy-client": "^2.5.0",
27
+ "@smithy/types": "^2.12.0",
28
28
  "bowser": "^2.11.0",
29
- "tslib": "^2.5.0"
29
+ "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "2.2.3",
3
+ "version": "2.3.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -22,13 +22,13 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/config-resolver": "^2.1.4",
26
- "@smithy/credential-provider-imds": "^2.2.4",
27
- "@smithy/node-config-provider": "^2.2.4",
28
- "@smithy/property-provider": "^2.1.3",
29
- "@smithy/smithy-client": "^2.4.2",
30
- "@smithy/types": "^2.10.1",
31
- "tslib": "^2.5.0"
25
+ "@smithy/config-resolver": "^2.2.0",
26
+ "@smithy/credential-provider-imds": "^2.3.0",
27
+ "@smithy/node-config-provider": "^2.3.0",
28
+ "@smithy/property-provider": "^2.2.0",
29
+ "@smithy/smithy-client": "^2.5.0",
30
+ "@smithy/types": "^2.12.0",
31
+ "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "1.1.4",
3
+ "version": "1.2.0",
4
4
  "description": "Utilities to help with endpoint resolution.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@smithy/node-config-provider": "^2.2.4",
30
- "@smithy/types": "^2.10.1",
31
- "tslib": "^2.5.0"
29
+ "@smithy/node-config-provider": "^2.3.0",
30
+ "@smithy/types": "^2.12.0",
31
+ "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-hex-encoding",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Converts binary buffers to and from lowercase hexadecimal encoding",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -22,7 +22,7 @@
22
22
  "main": "./dist-cjs/index.js",
23
23
  "module": "./dist-es/index.js",
24
24
  "dependencies": {
25
- "tslib": "^2.5.0"
25
+ "tslib": "^2.6.2"
26
26
  },
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-middleware",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@smithy/types": "^2.10.1",
30
- "tslib": "^2.5.0"
29
+ "@smithy/types": "^2.12.0",
30
+ "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,9 +27,9 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@smithy/service-error-classification": "^2.1.3",
31
- "@smithy/types": "^2.10.1",
32
- "tslib": "^2.5.0"
30
+ "@smithy/service-error-classification": "^2.1.5",
31
+ "@smithy/types": "^2.12.0",
32
+ "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@tsconfig/recommended": "1.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-stream",
@@ -24,17 +24,17 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/fetch-http-handler": "^2.4.3",
28
- "@smithy/node-http-handler": "^2.4.1",
29
- "@smithy/types": "^2.10.1",
30
- "@smithy/util-base64": "^2.1.1",
31
- "@smithy/util-buffer-from": "^2.1.1",
32
- "@smithy/util-hex-encoding": "^2.1.1",
33
- "@smithy/util-utf8": "^2.1.1",
34
- "tslib": "^2.5.0"
27
+ "@smithy/fetch-http-handler": "^2.5.0",
28
+ "@smithy/node-http-handler": "^2.5.0",
29
+ "@smithy/types": "^2.12.0",
30
+ "@smithy/util-base64": "^2.3.0",
31
+ "@smithy/util-buffer-from": "^2.2.0",
32
+ "@smithy/util-hex-encoding": "^2.2.0",
33
+ "@smithy/util-utf8": "^2.3.0",
34
+ "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@smithy/util-test": "^0.1.16",
37
+ "@smithy/util-test": "^0.2.0",
38
38
  "@types/chai-as-promised": "^7.1.2",
39
39
  "@types/node": "^14.14.31",
40
40
  "chai": "^4.2.0",
@@ -44,9 +44,9 @@
44
44
  "karma": "6.4.0",
45
45
  "karma-chai": "0.1.0",
46
46
  "karma-chrome-launcher": "3.1.1",
47
- "karma-coverage": "2.2.0",
47
+ "karma-coverage": "2.2.1",
48
48
  "karma-env-preprocessor": "0.1.1",
49
- "karma-firefox-launcher": "2.1.2",
49
+ "karma-firefox-launcher": "2.1.3",
50
50
  "karma-jasmine": "5.1.0",
51
51
  "karma-mocha": "2.0.1",
52
52
  "karma-sourcemap-loader": "0.3.8",