@cdklabs/cdk-ssm-documents 0.0.69 → 0.0.71

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 (2993) hide show
  1. package/.jsii +34 -34
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +4 -5
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +4 -5
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +1 -5
  117. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/index.browser.d.ts +1 -4
  118. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +2 -4
  119. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +2 -4
  120. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/configuration.d.ts +1 -4
  121. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.d.ts +1 -1
  122. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsMiddleware.d.ts +1 -1
  123. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.d.ts +2 -5
  124. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksum.d.ts +1 -1
  125. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmForRequest.d.ts +1 -1
  126. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.d.ts +1 -1
  127. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumLocationName.d.ts +1 -3
  128. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getFlexibleChecksumsPlugin.d.ts +3 -2
  129. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/hasHeaderWithPrefix.d.ts +1 -4
  130. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.d.ts +4 -11
  131. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/selectChecksumAlgorithmFunction.d.ts +1 -1
  132. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringHasher.d.ts +1 -1
  133. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringUnionSelector.d.ts +1 -1
  134. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/validateChecksumFromResponse.d.ts +1 -1
  135. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +1 -6
  136. package/node_modules/@aws-sdk/checksums/package.json +63 -60
  137. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  138. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +316 -365
  140. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +16 -56
  141. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  142. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  143. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  144. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateOrganizationsAccessCommand.d.ts +3 -5
  145. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ActivateTypeCommand.d.ts +2 -4
  146. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/BatchDescribeTypeConfigurationsCommand.d.ts +4 -6
  147. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CancelUpdateStackCommand.d.ts +2 -2
  148. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +5 -10
  149. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateChangeSetCommand.d.ts +4 -9
  150. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +5 -10
  151. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackCommand.d.ts +3 -5
  152. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackInstancesCommand.d.ts +5 -10
  153. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackRefactorCommand.d.ts +5 -10
  154. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackSetCommand.d.ts +3 -5
  155. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateOrganizationsAccessCommand.d.ts +3 -5
  156. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeactivateTypeCommand.d.ts +2 -4
  157. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteChangeSetCommand.d.ts +4 -9
  158. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +4 -6
  159. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +2 -2
  160. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +5 -10
  161. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteStackSetCommand.d.ts +3 -5
  162. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeregisterTypeCommand.d.ts +2 -4
  163. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +4 -9
  164. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetCommand.d.ts +4 -9
  165. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +5 -10
  166. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -4
  167. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +4 -6
  168. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeOrganizationsAccessCommand.d.ts +3 -5
  169. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribePublisherCommand.d.ts +3 -8
  170. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +5 -10
  171. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackDriftDetectionStatusCommand.d.ts +4 -6
  172. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +5 -10
  173. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +5 -10
  174. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackRefactorCommand.d.ts +5 -10
  175. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceCommand.d.ts +5 -10
  176. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +4 -6
  177. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackResourcesCommand.d.ts +4 -9
  178. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetCommand.d.ts +4 -9
  179. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackSetOperationCommand.d.ts +4 -6
  180. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +2 -4
  181. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeCommand.d.ts +2 -4
  182. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeTypeRegistrationCommand.d.ts +5 -10
  183. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackDriftCommand.d.ts +4 -9
  184. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackResourceDriftCommand.d.ts +5 -10
  185. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DetectStackSetDriftCommand.d.ts +5 -10
  186. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +4 -9
  187. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +4 -9
  188. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteStackRefactorCommand.d.ts +3 -4
  189. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +5 -10
  190. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +2 -4
  191. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetStackPolicyCommand.d.ts +3 -5
  192. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +2 -4
  193. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetTemplateSummaryCommand.d.ts +4 -9
  194. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ImportStacksToStackSetCommand.d.ts +5 -10
  195. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListChangeSetsCommand.d.ts +3 -5
  196. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -4
  197. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +4 -9
  198. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +3 -8
  199. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -5
  200. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +4 -6
  201. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +4 -6
  202. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +3 -8
  203. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstanceResourceDriftsCommand.d.ts +4 -6
  204. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackInstancesCommand.d.ts +5 -10
  205. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorActionsCommand.d.ts +5 -10
  206. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorsCommand.d.ts +4 -9
  207. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackResourcesCommand.d.ts +5 -10
  208. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +4 -6
  209. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +4 -6
  210. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +5 -10
  211. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -4
  212. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStacksCommand.d.ts +2 -4
  213. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +4 -9
  214. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +3 -8
  215. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +4 -4
  216. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +2 -4
  217. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +5 -10
  218. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +3 -8
  219. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +3 -5
  220. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +3 -5
  221. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +2 -2
  222. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeConfigurationCommand.d.ts +5 -10
  223. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetTypeDefaultVersionCommand.d.ts +4 -9
  224. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SignalResourceCommand.d.ts +2 -2
  225. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +3 -8
  226. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +5 -10
  227. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +4 -4
  228. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +5 -10
  229. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +3 -5
  230. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +5 -10
  231. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +3 -5
  232. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +4 -6
  233. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +3 -8
  234. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  236. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/enums.d.ts +44 -88
  238. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +29 -115
  239. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +2 -6
  240. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  241. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -4
  242. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -4
  243. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStacksPaginator.d.ts +1 -4
  244. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +1 -4
  245. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  246. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  247. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  248. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  251. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForChangeSetCreateComplete.d.ts +3 -5
  252. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackCreateComplete.d.ts +3 -5
  253. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackDeleteComplete.d.ts +4 -8
  254. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackExists.d.ts +3 -5
  255. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackImportComplete.d.ts +3 -5
  256. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorCreateComplete.d.ts +3 -7
  257. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorExecuteComplete.d.ts +3 -7
  258. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRollbackComplete.d.ts +3 -5
  259. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackUpdateComplete.d.ts +3 -5
  260. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForTypeRegistrationComplete.d.ts +3 -7
  261. package/node_modules/@aws-sdk/client-cloudformation/package.json +39 -39
  262. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +1 -1
  263. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +1 -1
  264. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +169 -183
  265. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +10 -34
  266. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  267. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  268. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commandBuilder.d.ts +8 -14
  269. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +5 -10
  270. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +3 -4
  271. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +2 -2
  272. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +4 -9
  273. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +4 -9
  274. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +5 -10
  275. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +5 -10
  276. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeAlarmContributorsCommand.d.ts +4 -6
  277. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +4 -9
  278. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +2 -4
  279. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +5 -10
  280. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +4 -9
  281. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +4 -9
  282. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +3 -4
  283. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +5 -10
  284. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +4 -6
  285. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +3 -4
  286. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +5 -10
  287. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +4 -9
  288. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +3 -5
  289. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +3 -5
  290. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +5 -10
  291. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +3 -5
  292. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +5 -10
  293. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +4 -9
  294. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +5 -10
  295. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetOTelEnrichmentCommand.d.ts +3 -8
  296. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +4 -9
  297. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +2 -4
  298. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +5 -10
  299. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +3 -8
  300. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +2 -4
  301. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  302. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +2 -2
  303. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +4 -9
  304. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +2 -2
  305. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +3 -5
  306. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +3 -5
  307. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutLogAlarmCommand.d.ts +2 -2
  308. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +5 -10
  309. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +2 -2
  310. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +2 -2
  311. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +4 -9
  312. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +2 -2
  313. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +5 -10
  314. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/StartOTelEnrichmentCommand.d.ts +4 -9
  315. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +4 -9
  316. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/StopOTelEnrichmentCommand.d.ts +4 -9
  317. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  318. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
  319. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  320. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  321. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  322. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/enums.d.ts +8 -16
  323. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +12 -45
  324. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  325. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +1 -4
  326. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +11 -28
  327. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +11 -23
  328. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -28
  329. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  330. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  331. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/waiters/waitForAlarmExists.d.ts +3 -5
  332. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/waiters/waitForAlarmMuteRuleExists.d.ts +3 -5
  333. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/waiters/waitForCompositeAlarmExists.d.ts +3 -5
  334. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/waiters/waitForLogAlarmExists.d.ts +3 -5
  335. package/node_modules/@aws-sdk/client-cloudwatch/package.json +41 -41
  336. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +1 -1
  337. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +1 -1
  338. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +2554 -3871
  339. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +31 -92
  340. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  341. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  342. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commandBuilder.d.ts +9 -19
  343. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptAddressTransferCommand.d.ts +5 -10
  344. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +4 -6
  345. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptReservedInstancesExchangeQuoteCommand.d.ts +4 -6
  346. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptTransitGatewayClientVpnAttachmentCommand.d.ts +4 -6
  347. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -8
  348. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +4 -6
  349. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptTransitGatewayVpcAttachmentCommand.d.ts +4 -6
  350. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptVpcEndpointConnectionsCommand.d.ts +4 -6
  351. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AcceptVpcPeeringConnectionCommand.d.ts +4 -6
  352. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +5 -10
  353. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AllocateAddressCommand.d.ts +3 -8
  354. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AllocateHostsCommand.d.ts +2 -4
  355. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AllocateIpamPoolCidrCommand.d.ts +5 -10
  356. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.d.ts +4 -6
  357. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssignIpv6AddressesCommand.d.ts +5 -10
  358. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssignPrivateIpAddressesCommand.d.ts +4 -6
  359. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +4 -6
  360. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateAddressCommand.d.ts +3 -8
  361. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -6
  362. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateClientVpnTargetNetworkCommand.d.ts +4 -6
  363. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateDhcpOptionsCommand.d.ts +3 -4
  364. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +4 -6
  365. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateIamInstanceProfileCommand.d.ts +4 -6
  366. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateInstanceEventWindowCommand.d.ts +4 -6
  367. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateIpamByoasnCommand.d.ts +5 -10
  368. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateIpamResourceDiscoveryCommand.d.ts +4 -6
  369. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +4 -6
  370. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateRouteServerCommand.d.ts +5 -10
  371. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateRouteTableCommand.d.ts +5 -10
  372. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +4 -6
  373. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateSubnetCidrBlockCommand.d.ts +4 -6
  374. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +4 -6
  375. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateTransitGatewayPolicyTableCommand.d.ts +4 -6
  376. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateTransitGatewayRouteTableCommand.d.ts +4 -6
  377. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateTrunkInterfaceCommand.d.ts +5 -10
  378. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AssociateVpcCidrBlockCommand.d.ts +5 -10
  379. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachClassicLinkVpcCommand.d.ts +5 -10
  380. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +5 -10
  381. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachInternetGatewayCommand.d.ts +3 -4
  382. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachNetworkInterfaceCommand.d.ts +5 -10
  383. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +4 -6
  384. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachVolumeCommand.d.ts +3 -5
  385. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachVpnGatewayCommand.d.ts +4 -9
  386. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AuthorizeClientVpnIngressCommand.d.ts +4 -6
  387. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AuthorizeSecurityGroupEgressCommand.d.ts +4 -6
  388. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AuthorizeSecurityGroupIngressCommand.d.ts +3 -5
  389. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/BundleInstanceCommand.d.ts +4 -9
  390. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelBundleTaskCommand.d.ts +4 -9
  391. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +4 -6
  392. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelCapacityReservationFleetsCommand.d.ts +4 -6
  393. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelConversionTaskCommand.d.ts +3 -4
  394. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelDeclarativePoliciesReportCommand.d.ts +4 -6
  395. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +2 -2
  396. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +4 -6
  397. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +3 -8
  398. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelReservedInstancesListingCommand.d.ts +4 -6
  399. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelSpotFleetRequestsCommand.d.ts +4 -6
  400. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CancelSpotInstanceRequestsCommand.d.ts +4 -6
  401. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ConfirmProductInstanceCommand.d.ts +5 -10
  402. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +3 -5
  403. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopyImageCommand.d.ts +7 -5
  404. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +3 -5
  405. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CopyVolumesCommand.d.ts +3 -5
  406. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityManagerDataExportCommand.d.ts +4 -6
  407. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -6
  408. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +4 -6
  409. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +4 -6
  410. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +4 -6
  411. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +5 -10
  412. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +5 -10
  413. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +5 -10
  414. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCoipCidrCommand.d.ts +4 -9
  415. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCoipPoolCommand.d.ts +4 -9
  416. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCustomerGatewayCommand.d.ts +5 -10
  417. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +3 -5
  418. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +3 -8
  419. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +4 -6
  420. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +5 -11
  421. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +4 -6
  422. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +3 -5
  423. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +4 -9
  424. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +4 -9
  425. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateImageCommand.d.ts +3 -5
  426. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateImageUsageReportCommand.d.ts +5 -10
  427. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateInstanceConnectEndpointCommand.d.ts +4 -6
  428. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateInstanceEventWindowCommand.d.ts +3 -5
  429. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateInstanceExportTaskCommand.d.ts +4 -6
  430. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateInternetGatewayCommand.d.ts +4 -9
  431. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +4 -6
  432. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamCommand.d.ts +2 -4
  433. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +4 -6
  434. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPolicyCommand.d.ts +4 -9
  435. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPoolCommand.d.ts +4 -9
  436. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPrefixListResolverCommand.d.ts +4 -6
  437. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +4 -6
  438. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamResourceDiscoveryCommand.d.ts +3 -5
  439. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateIpamScopeCommand.d.ts +4 -9
  440. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateKeyPairCommand.d.ts +2 -2
  441. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLaunchTemplateCommand.d.ts +5 -10
  442. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -6
  443. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayRouteCommand.d.ts +5 -10
  444. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +4 -6
  445. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -6
  446. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -6
  447. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +4 -6
  448. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +4 -6
  449. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +4 -6
  450. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateManagedPrefixListCommand.d.ts +5 -10
  451. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +3 -8
  452. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -9
  453. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +3 -4
  454. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +3 -5
  455. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -6
  456. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +5 -10
  457. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -6
  458. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -9
  459. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreatePublicIpv4PoolCommand.d.ts +4 -9
  460. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateReplaceRootVolumeTaskCommand.d.ts +4 -6
  461. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateReservedInstancesListingCommand.d.ts +4 -6
  462. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRestoreImageTaskCommand.d.ts +5 -10
  463. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +3 -5
  464. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerCommand.d.ts +5 -11
  465. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerEndpointCommand.d.ts +4 -6
  466. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +5 -10
  467. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -9
  468. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +5 -10
  469. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +5 -10
  470. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +5 -10
  471. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +3 -5
  472. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +4 -9
  473. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +4 -6
  474. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +5 -10
  475. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +4 -6
  476. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateSubnetCommand.d.ts +3 -5
  477. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -2
  478. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +3 -5
  479. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -6
  480. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTrafficMirrorSessionCommand.d.ts +4 -6
  481. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTrafficMirrorTargetCommand.d.ts +3 -5
  482. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayCommand.d.ts +4 -9
  483. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +4 -6
  484. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayConnectPeerCommand.d.ts +4 -6
  485. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +4 -6
  486. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -6
  487. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +4 -6
  488. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +4 -6
  489. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayPolicyTableCommand.d.ts +4 -6
  490. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayPrefixListReferenceCommand.d.ts +4 -6
  491. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayRouteCommand.d.ts +4 -6
  492. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +4 -6
  493. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayRouteTableCommand.d.ts +4 -6
  494. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +4 -6
  495. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessEndpointCommand.d.ts +4 -6
  496. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessGroupCommand.d.ts +4 -6
  497. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessInstanceCommand.d.ts +3 -5
  498. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +4 -6
  499. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +1 -1
  500. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +4 -6
  501. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcCommand.d.ts +4 -4
  502. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcEncryptionControlCommand.d.ts +4 -6
  503. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +5 -11
  504. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -6
  505. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +3 -5
  506. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +4 -6
  507. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnConcentratorCommand.d.ts +5 -10
  508. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +5 -10
  509. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +4 -6
  510. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +4 -9
  511. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCapacityManagerDataExportCommand.d.ts +4 -6
  512. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCarrierGatewayCommand.d.ts +5 -10
  513. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteClientVpnEndpointCommand.d.ts +5 -10
  514. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteClientVpnRouteCommand.d.ts +5 -10
  515. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCoipCidrCommand.d.ts +4 -9
  516. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCoipPoolCommand.d.ts +4 -9
  517. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteCustomerGatewayCommand.d.ts +3 -4
  518. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteDhcpOptionsCommand.d.ts +3 -4
  519. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteEgressOnlyInternetGatewayCommand.d.ts +4 -6
  520. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteFleetsCommand.d.ts +3 -5
  521. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteFlowLogsCommand.d.ts +4 -9
  522. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +4 -9
  523. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteImageUsageReportCommand.d.ts +5 -10
  524. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +4 -6
  525. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -6
  526. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +3 -4
  527. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +3 -5
  528. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -6
  529. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPolicyCommand.d.ts +4 -9
  530. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +4 -9
  531. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPrefixListResolverCommand.d.ts +4 -6
  532. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamPrefixListResolverTargetCommand.d.ts +4 -6
  533. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +4 -6
  534. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +4 -9
  535. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteKeyPairCommand.d.ts +2 -4
  536. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +4 -9
  537. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -6
  538. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +5 -10
  539. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -6
  540. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -6
  541. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -6
  542. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayVirtualInterfaceCommand.d.ts +4 -6
  543. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLocalGatewayVirtualInterfaceGroupCommand.d.ts +4 -6
  544. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteManagedPrefixListCommand.d.ts +5 -10
  545. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNatGatewayCommand.d.ts +4 -9
  546. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkAclCommand.d.ts +2 -2
  547. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkAclEntryCommand.d.ts +3 -4
  548. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.d.ts +4 -6
  549. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInsightsAccessScopeCommand.d.ts +4 -6
  550. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInsightsAnalysisCommand.d.ts +4 -6
  551. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInsightsPathCommand.d.ts +4 -6
  552. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +3 -4
  553. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +4 -6
  554. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +3 -4
  555. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeletePublicIpv4PoolCommand.d.ts +5 -10
  556. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteQueuedReservedInstancesCommand.d.ts +4 -6
  557. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +2 -2
  558. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteRouteServerCommand.d.ts +5 -11
  559. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteRouteServerEndpointCommand.d.ts +4 -6
  560. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteRouteServerPeerCommand.d.ts +5 -10
  561. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteRouteTableCommand.d.ts +2 -2
  562. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecondaryNetworkCommand.d.ts +5 -10
  563. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecondarySubnetCommand.d.ts +5 -10
  564. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +4 -9
  565. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -2
  566. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +3 -5
  567. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +4 -6
  568. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +2 -2
  569. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
  570. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +4 -6
  571. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterRuleCommand.d.ts +4 -6
  572. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +4 -6
  573. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +4 -6
  574. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayClientVpnAttachmentCommand.d.ts +4 -6
  575. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +5 -10
  576. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -6
  577. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +4 -6
  578. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyCommand.d.ts +4 -6
  579. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +4 -6
  580. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +4 -6
  581. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +4 -6
  582. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +4 -6
  583. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +4 -6
  584. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +4 -6
  585. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +4 -6
  586. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableCommand.d.ts +4 -6
  587. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +4 -6
  588. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVerifiedAccessEndpointCommand.d.ts +4 -6
  589. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVerifiedAccessGroupCommand.d.ts +4 -6
  590. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVerifiedAccessInstanceCommand.d.ts +4 -6
  591. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +4 -6
  592. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +2 -2
  593. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +4 -6
  594. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcCommand.d.ts +6 -2
  595. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcEncryptionControlCommand.d.ts +4 -6
  596. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +4 -6
  597. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +4 -6
  598. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcEndpointsCommand.d.ts +5 -10
  599. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpcPeeringConnectionCommand.d.ts +4 -6
  600. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnConcentratorCommand.d.ts +5 -10
  601. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnConnectionCommand.d.ts +3 -4
  602. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnConnectionRouteCommand.d.ts +4 -6
  603. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteVpnGatewayCommand.d.ts +2 -2
  604. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +5 -10
  605. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeprovisionIpamByoasnCommand.d.ts +5 -10
  606. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeprovisionIpamPoolCidrCommand.d.ts +5 -10
  607. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +4 -6
  608. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +4 -9
  609. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +4 -6
  610. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +3 -5
  611. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +3 -5
  612. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +3 -5
  613. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAccountVpcEncryptionControlCommand.d.ts +3 -5
  614. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAddressTransfersCommand.d.ts +3 -5
  615. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +3 -5
  616. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +4 -10
  617. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAggregateIdFormatCommand.d.ts +3 -5
  618. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAvailabilityZonesCommand.d.ts +3 -5
  619. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +4 -8
  620. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeBundleTasksCommand.d.ts +4 -9
  621. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeByoipCidrsCommand.d.ts +5 -10
  622. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +3 -5
  623. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +4 -6
  624. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockOfferingsCommand.d.ts +4 -6
  625. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +3 -5
  626. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +4 -9
  627. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityManagerDataExportsCommand.d.ts +3 -5
  628. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +4 -6
  629. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +3 -5
  630. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationFleetsCommand.d.ts +3 -5
  631. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationTopologyCommand.d.ts +3 -5
  632. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +3 -5
  633. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -9
  634. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -5
  635. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +4 -6
  636. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -6
  637. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +3 -5
  638. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClientVpnRoutesCommand.d.ts +5 -10
  639. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeClientVpnTargetNetworksCommand.d.ts +4 -6
  640. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +4 -10
  641. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +4 -9
  642. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +3 -5
  643. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +3 -5
  644. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeDhcpOptionsCommand.d.ts +4 -9
  645. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +3 -5
  646. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeElasticGpusCommand.d.ts +4 -9
  647. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeExportImageTasksCommand.d.ts +3 -5
  648. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +4 -9
  649. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +3 -5
  650. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +3 -5
  651. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +5 -10
  652. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetInstancesCommand.d.ts +5 -10
  653. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +3 -8
  654. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +3 -8
  655. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +4 -6
  656. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +4 -9
  657. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +3 -5
  658. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +3 -5
  659. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -4
  660. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +3 -5
  661. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +3 -8
  662. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +4 -6
  663. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +5 -11
  664. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImageReferencesCommand.d.ts +5 -10
  665. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImageUsageReportEntriesCommand.d.ts +3 -5
  666. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImageUsageReportsCommand.d.ts +3 -5
  667. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +3 -8
  668. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +3 -5
  669. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +3 -5
  670. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +5 -10
  671. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +3 -5
  672. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +3 -5
  673. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +3 -5
  674. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +3 -5
  675. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +3 -5
  676. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaHistoryStatesCommand.d.ts +3 -5
  677. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceSqlHaStatesCommand.d.ts +3 -5
  678. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -9
  679. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +3 -5
  680. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTypeOfferingsCommand.d.ts +3 -5
  681. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +4 -9
  682. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -10
  683. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInternetGatewaysCommand.d.ts +3 -5
  684. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamByoasnCommand.d.ts +4 -9
  685. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamExternalResourceVerificationTokensCommand.d.ts +4 -8
  686. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPoliciesCommand.d.ts +4 -9
  687. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPoolAllocationsCommand.d.ts +3 -5
  688. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +4 -10
  689. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPrefixListResolverTargetsCommand.d.ts +3 -5
  690. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPrefixListResolversCommand.d.ts +3 -5
  691. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +3 -5
  692. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +3 -5
  693. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +4 -9
  694. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +2 -4
  695. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +4 -10
  696. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +3 -8
  697. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -5
  698. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -9
  699. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.d.ts +4 -10
  700. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.d.ts +3 -5
  701. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewayRouteTablesCommand.d.ts +3 -5
  702. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +3 -5
  703. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfacesCommand.d.ts +3 -5
  704. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLocalGatewaysCommand.d.ts +4 -9
  705. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeLockedSnapshotsCommand.d.ts +4 -9
  706. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeMacHostsCommand.d.ts +3 -8
  707. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeMacModificationTasksCommand.d.ts +3 -5
  708. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeManagedPrefixListsCommand.d.ts +3 -5
  709. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeMovingAddressesCommand.d.ts +4 -9
  710. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNatGatewaysCommand.d.ts +4 -9
  711. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkAclsCommand.d.ts +4 -9
  712. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInsightsAccessScopeAnalysesCommand.d.ts +3 -5
  713. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInsightsAccessScopesCommand.d.ts +3 -5
  714. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +3 -5
  715. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +3 -5
  716. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +4 -6
  717. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +3 -5
  718. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeNetworkInterfacesCommand.d.ts +3 -5
  719. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeOutpostLagsCommand.d.ts +4 -9
  720. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribePlacementGroupsCommand.d.ts +4 -9
  721. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribePrefixListsCommand.d.ts +4 -9
  722. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +3 -5
  723. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +4 -9
  724. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +3 -8
  725. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +3 -5
  726. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +3 -5
  727. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +3 -5
  728. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +3 -5
  729. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +3 -5
  730. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteServerEndpointsCommand.d.ts +3 -5
  731. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteServerPeersCommand.d.ts +3 -5
  732. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteServersCommand.d.ts +4 -9
  733. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeRouteTablesCommand.d.ts +4 -9
  734. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +4 -6
  735. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +3 -5
  736. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecondaryInterfacesCommand.d.ts +3 -5
  737. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecondaryNetworksCommand.d.ts +3 -5
  738. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecondarySubnetsCommand.d.ts +3 -5
  739. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +4 -6
  740. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +3 -5
  741. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +3 -5
  742. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +4 -9
  743. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeServiceLinkVirtualInterfacesCommand.d.ts +3 -5
  744. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +4 -6
  745. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +3 -5
  746. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +4 -10
  747. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +3 -5
  748. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +4 -6
  749. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -6
  750. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotFleetRequestsCommand.d.ts +3 -5
  751. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +3 -5
  752. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +3 -5
  753. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -6
  754. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +4 -9
  755. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +3 -8
  756. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -4
  757. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorFilterRulesCommand.d.ts +3 -5
  758. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +3 -5
  759. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +3 -5
  760. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +3 -5
  761. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +3 -5
  762. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +3 -5
  763. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +3 -5
  764. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayMeteringPoliciesCommand.d.ts +3 -5
  765. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +3 -5
  766. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +3 -5
  767. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +3 -5
  768. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +3 -5
  769. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +3 -5
  770. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +3 -5
  771. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +4 -9
  772. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +3 -5
  773. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +3 -5
  774. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +3 -5
  775. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +4 -8
  776. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessInstancesCommand.d.ts +3 -5
  777. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +3 -5
  778. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +5 -10
  779. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +4 -9
  780. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +3 -8
  781. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVolumesModificationsCommand.d.ts +3 -5
  782. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcAttributeCommand.d.ts +5 -10
  783. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +3 -5
  784. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +3 -5
  785. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcClassicLinkCommand.d.ts +4 -9
  786. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +3 -5
  787. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEncryptionControlsCommand.d.ts +3 -5
  788. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationsCommand.d.ts +3 -5
  789. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionNotificationsCommand.d.ts +3 -5
  790. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +3 -5
  791. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +3 -5
  792. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +4 -6
  793. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +3 -5
  794. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -9
  795. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +3 -5
  796. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +2 -4
  797. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpnConcentratorsCommand.d.ts +3 -5
  798. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +4 -9
  799. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +4 -9
  800. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +5 -10
  801. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +5 -10
  802. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachInternetGatewayCommand.d.ts +3 -4
  803. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachNetworkInterfaceCommand.d.ts +3 -4
  804. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +4 -6
  805. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachVolumeCommand.d.ts +3 -5
  806. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachVpnGatewayCommand.d.ts +2 -2
  807. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableAddressTransferCommand.d.ts +5 -10
  808. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableAllowedImagesSettingsCommand.d.ts +3 -5
  809. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +4 -8
  810. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableCapacityManagerCommand.d.ts +4 -9
  811. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableEbsEncryptionByDefaultCommand.d.ts +3 -5
  812. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableFastLaunchCommand.d.ts +5 -11
  813. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableFastSnapshotRestoresCommand.d.ts +4 -6
  814. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableImageBlockPublicAccessCommand.d.ts +3 -5
  815. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableImageCommand.d.ts +3 -5
  816. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableImageDeprecationCommand.d.ts +5 -10
  817. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +4 -6
  818. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableInstanceSqlHaStandbyDetectionsCommand.d.ts +4 -6
  819. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +4 -6
  820. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableIpamPolicyCommand.d.ts +5 -11
  821. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +4 -6
  822. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +3 -5
  823. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +3 -5
  824. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +4 -6
  825. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableVgwRoutePropagationCommand.d.ts +4 -6
  826. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableVpcClassicLinkCommand.d.ts +5 -10
  827. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +3 -5
  828. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateAddressCommand.d.ts +2 -3
  829. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -6
  830. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +4 -6
  831. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +4 -6
  832. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateIamInstanceProfileCommand.d.ts +4 -6
  833. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateInstanceEventWindowCommand.d.ts +4 -6
  834. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateIpamByoasnCommand.d.ts +5 -10
  835. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateIpamResourceDiscoveryCommand.d.ts +4 -6
  836. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +4 -6
  837. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateRouteServerCommand.d.ts +5 -10
  838. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateRouteTableCommand.d.ts +3 -4
  839. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +4 -6
  840. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +4 -6
  841. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +4 -6
  842. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +4 -6
  843. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -6
  844. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +4 -6
  845. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -6
  846. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +5 -10
  847. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAllowedImagesSettingsCommand.d.ts +4 -6
  848. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +3 -5
  849. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableCapacityManagerCommand.d.ts +4 -9
  850. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableEbsEncryptionByDefaultCommand.d.ts +3 -5
  851. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +4 -9
  852. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableFastSnapshotRestoresCommand.d.ts +4 -6
  853. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableImageBlockPublicAccessCommand.d.ts +4 -6
  854. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableImageCommand.d.ts +3 -5
  855. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableImageDeprecationCommand.d.ts +5 -10
  856. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableImageDeregistrationProtectionCommand.d.ts +4 -6
  857. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableInstanceSqlHaStandbyDetectionsCommand.d.ts +4 -6
  858. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableIpamOrganizationAdminAccountCommand.d.ts +4 -6
  859. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableIpamPolicyCommand.d.ts +4 -9
  860. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +3 -5
  861. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableRouteServerPropagationCommand.d.ts +4 -6
  862. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableSerialConsoleAccessCommand.d.ts +3 -5
  863. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +4 -6
  864. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableTransitGatewayRouteTablePropagationCommand.d.ts +4 -6
  865. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +4 -6
  866. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +2 -2
  867. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +5 -10
  868. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +3 -5
  869. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +4 -6
  870. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -6
  871. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ExportImageCommand.d.ts +3 -5
  872. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +4 -6
  873. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.d.ts +4 -6
  874. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +4 -6
  875. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +3 -5
  876. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +4 -6
  877. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +4 -6
  878. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +3 -5
  879. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +3 -5
  880. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -6
  881. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +4 -6
  882. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +3 -5
  883. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +4 -6
  884. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -9
  885. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +4 -9
  886. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +5 -10
  887. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +4 -6
  888. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +4 -6
  889. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -9
  890. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +3 -5
  891. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetEnabledIpamPolicyCommand.d.ts +4 -9
  892. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +4 -6
  893. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +4 -6
  894. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +4 -6
  895. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetImageAncestryCommand.d.ts +4 -9
  896. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +3 -5
  897. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +3 -5
  898. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +5 -10
  899. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +4 -6
  900. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +5 -10
  901. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +5 -10
  902. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -6
  903. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredPublicAddressesCommand.d.ts +4 -6
  904. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +4 -6
  905. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPolicyAllocationRulesCommand.d.ts +4 -6
  906. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPolicyOrganizationTargetsCommand.d.ts +4 -6
  907. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +5 -10
  908. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +4 -9
  909. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverRulesCommand.d.ts +4 -6
  910. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverVersionEntriesCommand.d.ts +4 -6
  911. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamPrefixListResolverVersionsCommand.d.ts +4 -6
  912. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +5 -10
  913. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetLaunchTemplateDataCommand.d.ts +5 -10
  914. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListAssociationsCommand.d.ts +4 -6
  915. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedPrefixListEntriesCommand.d.ts +4 -6
  916. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetManagedResourceVisibilityCommand.d.ts +3 -5
  917. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +4 -6
  918. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetNetworkInsightsAccessScopeContentCommand.d.ts +4 -6
  919. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetPasswordDataCommand.d.ts +4 -9
  920. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +4 -6
  921. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +4 -6
  922. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +4 -6
  923. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetRouteServerRoutingDatabaseCommand.d.ts +4 -6
  924. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +5 -10
  925. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +3 -5
  926. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +3 -5
  927. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +5 -10
  928. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +4 -6
  929. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +4 -6
  930. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayMeteringPolicyEntriesCommand.d.ts +4 -6
  931. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -6
  932. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +4 -6
  933. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -6
  934. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -6
  935. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +4 -6
  936. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +4 -6
  937. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +4 -6
  938. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +4 -6
  939. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -6
  940. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +4 -6
  941. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +4 -6
  942. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +3 -5
  943. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +4 -6
  944. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +4 -6
  945. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportImageCommand.d.ts +2 -4
  946. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportInstanceCommand.d.ts +4 -9
  947. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportKeyPairCommand.d.ts +3 -5
  948. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +3 -8
  949. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ImportVolumeCommand.d.ts +3 -5
  950. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ListImagesInRecycleBinCommand.d.ts +4 -9
  951. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ListSnapshotsInRecycleBinCommand.d.ts +3 -5
  952. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ListVolumesInRecycleBinCommand.d.ts +4 -9
  953. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/LockSnapshotCommand.d.ts +3 -5
  954. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyAccountVpcEncryptionControlCommand.d.ts +3 -5
  955. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyAddressAttributeCommand.d.ts +5 -10
  956. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +4 -6
  957. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +4 -6
  958. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +4 -6
  959. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyClientVpnEndpointCommand.d.ts +5 -10
  960. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyDefaultCreditSpecificationCommand.d.ts +4 -6
  961. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +4 -6
  962. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyFleetCommand.d.ts +3 -5
  963. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyFpgaImageAttributeCommand.d.ts +4 -6
  964. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyHostsCommand.d.ts +3 -5
  965. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIdFormatCommand.d.ts +2 -2
  966. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIdentityIdFormatCommand.d.ts +3 -4
  967. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyImageAttributeCommand.d.ts +3 -4
  968. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceAttributeCommand.d.ts +4 -6
  969. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -6
  970. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +4 -6
  971. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +4 -6
  972. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -6
  973. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +4 -6
  974. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +4 -6
  975. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -6
  976. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +3 -5
  977. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +4 -6
  978. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstanceNetworkPerformanceOptionsCommand.d.ts +4 -6
  979. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +5 -10
  980. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +3 -5
  981. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPolicyAllocationRulesCommand.d.ts +4 -6
  982. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPoolAllocationCommand.d.ts +4 -6
  983. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +4 -9
  984. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPrefixListResolverCommand.d.ts +4 -6
  985. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPrefixListResolverTargetCommand.d.ts +4 -6
  986. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +5 -10
  987. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamResourceDiscoveryCommand.d.ts +4 -6
  988. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +4 -9
  989. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +4 -9
  990. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +5 -10
  991. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +5 -10
  992. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +4 -6
  993. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +4 -6
  994. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +4 -6
  995. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +4 -6
  996. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +5 -10
  997. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +5 -11
  998. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +4 -6
  999. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +4 -6
  1000. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +5 -10
  1001. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +5 -10
  1002. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +3 -4
  1003. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +4 -6
  1004. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +4 -6
  1005. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +4 -6
  1006. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +5 -10
  1007. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayMeteringPolicyCommand.d.ts +4 -6
  1008. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -6
  1009. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +4 -6
  1010. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +4 -6
  1011. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +4 -6
  1012. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +4 -6
  1013. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +4 -6
  1014. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +4 -6
  1015. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +4 -6
  1016. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +4 -6
  1017. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +3 -4
  1018. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +3 -5
  1019. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +3 -4
  1020. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +4 -6
  1021. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +4 -6
  1022. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEncryptionControlCommand.d.ts +4 -6
  1023. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +5 -11
  1024. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +4 -6
  1025. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointPayerResponsibilityCommand.d.ts +4 -6
  1026. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +4 -6
  1027. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +4 -6
  1028. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +4 -6
  1029. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +4 -6
  1030. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +4 -9
  1031. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +5 -10
  1032. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +4 -6
  1033. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +4 -6
  1034. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +5 -10
  1035. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -9
  1036. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +4 -9
  1037. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +5 -10
  1038. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -6
  1039. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +5 -10
  1040. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +5 -10
  1041. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +5 -10
  1042. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +4 -6
  1043. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +5 -10
  1044. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +4 -6
  1045. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/PurchaseHostReservationCommand.d.ts +5 -10
  1046. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/PurchaseReservedInstancesOfferingCommand.d.ts +4 -6
  1047. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/PurchaseScheduledInstancesCommand.d.ts +4 -6
  1048. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RebootInstancesCommand.d.ts +2 -2
  1049. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RegisterImageCommand.d.ts +3 -5
  1050. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +4 -6
  1051. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +4 -6
  1052. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -6
  1053. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +4 -6
  1054. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayClientVpnAttachmentCommand.d.ts +4 -6
  1055. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -8
  1056. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +4 -6
  1057. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +4 -6
  1058. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +4 -6
  1059. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -6
  1060. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  1061. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +3 -5
  1062. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +4 -6
  1063. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +4 -6
  1064. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +3 -5
  1065. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -6
  1066. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceNetworkAclEntryCommand.d.ts +3 -4
  1067. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceRouteCommand.d.ts +2 -2
  1068. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceRouteTableAssociationCommand.d.ts +4 -6
  1069. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +4 -6
  1070. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceVpnTunnelCommand.d.ts +4 -9
  1071. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReportInstanceStatusCommand.d.ts +3 -4
  1072. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -9
  1073. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RequestSpotInstancesCommand.d.ts +4 -9
  1074. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +5 -10
  1075. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +4 -9
  1076. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +5 -10
  1077. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +3 -4
  1078. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +3 -4
  1079. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +4 -6
  1080. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +3 -4
  1081. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +5 -10
  1082. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreImageFromRecycleBinCommand.d.ts +4 -6
  1083. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +4 -6
  1084. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +4 -6
  1085. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +5 -10
  1086. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RestoreVolumeFromRecycleBinCommand.d.ts +4 -6
  1087. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +5 -10
  1088. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +4 -6
  1089. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
  1090. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +3 -5
  1091. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +5 -10
  1092. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/SearchLocalGatewayRoutesCommand.d.ts +4 -6
  1093. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/SearchTransitGatewayMulticastGroupsCommand.d.ts +4 -6
  1094. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/SearchTransitGatewayRoutesCommand.d.ts +4 -6
  1095. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/SendDiagnosticInterruptCommand.d.ts +4 -6
  1096. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StartDeclarativePoliciesReportCommand.d.ts +4 -6
  1097. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StartInstancesCommand.d.ts +4 -9
  1098. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +4 -6
  1099. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StartNetworkInsightsAnalysisCommand.d.ts +4 -6
  1100. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +4 -6
  1101. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +3 -5
  1102. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +4 -6
  1103. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +5 -10
  1104. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +5 -10
  1105. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +4 -6
  1106. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +4 -6
  1107. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +4 -9
  1108. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +5 -10
  1109. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +3 -5
  1110. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +4 -6
  1111. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +4 -6
  1112. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +3 -5
  1113. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.d.ts +3 -5
  1114. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +5 -11
  1115. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1116. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1117. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1118. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +136 -272
  1119. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +11 -33
  1120. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +30 -90
  1121. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +29 -87
  1122. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +12 -36
  1123. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +13 -39
  1124. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +10 -34
  1125. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +17 -51
  1126. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +29 -87
  1127. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1128. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1129. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1130. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1131. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1132. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  1133. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForBundleTaskComplete.d.ts +3 -5
  1134. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForConversionTaskCancelled.d.ts +3 -5
  1135. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForConversionTaskCompleted.d.ts +3 -5
  1136. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForConversionTaskDeleted.d.ts +3 -5
  1137. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForCustomerGatewayAvailable.d.ts +3 -5
  1138. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForExportTaskCancelled.d.ts +3 -5
  1139. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForExportTaskCompleted.d.ts +3 -5
  1140. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForImageAvailable.d.ts +2 -2
  1141. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForImageExists.d.ts +2 -2
  1142. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForImageUsageReportAvailable.d.ts +3 -5
  1143. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInstanceExists.d.ts +3 -5
  1144. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInstanceRunning.d.ts +3 -5
  1145. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInstanceStatusOk.d.ts +3 -5
  1146. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInstanceStopped.d.ts +3 -5
  1147. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInstanceTerminated.d.ts +3 -5
  1148. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForInternetGatewayExists.d.ts +3 -5
  1149. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForKeyPairExists.d.ts +2 -2
  1150. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForNatGatewayAvailable.d.ts +3 -5
  1151. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForNatGatewayDeleted.d.ts +4 -8
  1152. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForNetworkInterfaceAvailable.d.ts +3 -5
  1153. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForPasswordDataAvailable.d.ts +2 -2
  1154. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecondaryNetworkCreateComplete.d.ts +3 -5
  1155. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +3 -5
  1156. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecondarySubnetCreateComplete.d.ts +3 -5
  1157. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecondarySubnetDeleteComplete.d.ts +3 -5
  1158. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecurityGroupExists.d.ts +3 -5
  1159. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +3 -7
  1160. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +3 -7
  1161. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSnapshotCompleted.d.ts +3 -5
  1162. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +3 -5
  1163. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSpotInstanceRequestFulfilled.d.ts +3 -5
  1164. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForStoreImageTaskComplete.d.ts +3 -5
  1165. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSubnetAvailable.d.ts +2 -2
  1166. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForSystemStatusOk.d.ts +3 -5
  1167. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVolumeAvailable.d.ts +2 -2
  1168. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVolumeDeleted.d.ts +2 -2
  1169. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVolumeInUse.d.ts +2 -2
  1170. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpcAvailable.d.ts +2 -2
  1171. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpcExists.d.ts +2 -2
  1172. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpcPeeringConnectionDeleted.d.ts +4 -8
  1173. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpcPeeringConnectionExists.d.ts +3 -5
  1174. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpnConnectionAvailable.d.ts +3 -5
  1175. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/waiters/waitForVpnConnectionDeleted.d.ts +3 -5
  1176. package/node_modules/@aws-sdk/client-ec2/package.json +41 -41
  1177. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1 -1
  1178. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +1 -1
  1179. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +588 -777
  1180. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +35 -108
  1181. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1182. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  1183. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  1184. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +4 -6
  1185. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -6
  1186. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +4 -6
  1187. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +2 -2
  1188. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +4 -6
  1189. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +3 -4
  1190. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +2 -2
  1191. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +2 -2
  1192. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -2
  1193. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +3 -8
  1194. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +3 -4
  1195. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateDelegationRequestCommand.d.ts +4 -6
  1196. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +3 -5
  1197. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +5 -10
  1198. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +4 -9
  1199. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +4 -6
  1200. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +3 -5
  1201. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +5 -10
  1202. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +3 -5
  1203. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +5 -10
  1204. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +4 -6
  1205. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -6
  1206. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateUserCommand.d.ts +3 -5
  1207. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +5 -10
  1208. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +3 -4
  1209. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +2 -2
  1210. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +3 -4
  1211. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -3
  1212. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -2
  1213. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +3 -4
  1214. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +3 -4
  1215. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +2 -3
  1216. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -6
  1217. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
  1218. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +3 -4
  1219. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +2 -2
  1220. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -6
  1221. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +2 -2
  1222. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +3 -4
  1223. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +3 -4
  1224. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +4 -6
  1225. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +4 -6
  1226. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -6
  1227. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +4 -6
  1228. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -2
  1229. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -6
  1230. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +2 -2
  1231. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +3 -4
  1232. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +3 -4
  1233. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +2 -2
  1234. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +2 -2
  1235. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +3 -5
  1236. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOrganizationsRootSessionsCommand.d.ts +3 -5
  1237. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +2 -3
  1238. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +2 -2
  1239. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +3 -5
  1240. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOrganizationsRootSessionsCommand.d.ts +3 -5
  1241. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +2 -3
  1242. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +2 -3
  1243. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +4 -6
  1244. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +4 -6
  1245. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +5 -10
  1246. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +3 -5
  1247. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +2 -3
  1248. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountSummaryCommand.d.ts +2 -3
  1249. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +4 -6
  1250. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +4 -6
  1251. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +2 -3
  1252. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +5 -10
  1253. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupCommand.d.ts +7 -5
  1254. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +4 -9
  1255. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +4 -6
  1256. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +5 -10
  1257. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +3 -8
  1258. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetMFADeviceCommand.d.ts +3 -5
  1259. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +4 -6
  1260. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +4 -6
  1261. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +2 -3
  1262. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
  1263. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +4 -9
  1264. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleCommand.d.ts +7 -5
  1265. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +4 -9
  1266. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +4 -9
  1267. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +4 -9
  1268. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +5 -10
  1269. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +4 -6
  1270. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +4 -6
  1271. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +4 -6
  1272. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetUserCommand.d.ts +4 -4
  1273. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +4 -9
  1274. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +3 -8
  1275. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +4 -9
  1276. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +4 -6
  1277. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +4 -6
  1278. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +4 -6
  1279. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +4 -9
  1280. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +5 -10
  1281. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +5 -10
  1282. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -4
  1283. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +5 -10
  1284. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +4 -6
  1285. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +4 -9
  1286. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -6
  1287. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +5 -10
  1288. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +3 -8
  1289. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +4 -6
  1290. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +3 -5
  1291. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListOrganizationsFeaturesCommand.d.ts +3 -5
  1292. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -4
  1293. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +4 -6
  1294. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +4 -9
  1295. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +5 -10
  1296. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +4 -9
  1297. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +3 -5
  1298. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListRolesCommand.d.ts +4 -4
  1299. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +5 -10
  1300. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +4 -9
  1301. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +4 -9
  1302. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +4 -6
  1303. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +4 -9
  1304. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +3 -5
  1305. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +3 -5
  1306. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +4 -9
  1307. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +3 -5
  1308. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListUsersCommand.d.ts +4 -4
  1309. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +4 -9
  1310. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +2 -2
  1311. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -6
  1312. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +2 -2
  1313. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -6
  1314. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +2 -2
  1315. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +4 -6
  1316. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -6
  1317. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -6
  1318. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +3 -4
  1319. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +4 -6
  1320. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +2 -2
  1321. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +3 -4
  1322. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +4 -6
  1323. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -6
  1324. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +5 -10
  1325. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +5 -10
  1326. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +3 -4
  1327. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +2 -2
  1328. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +4 -6
  1329. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +6 -2
  1330. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +6 -2
  1331. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +2 -2
  1332. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +3 -4
  1333. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +6 -2
  1334. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +3 -4
  1335. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +2 -2
  1336. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +4 -6
  1337. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +2 -2
  1338. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +6 -2
  1339. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +3 -4
  1340. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +3 -4
  1341. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +6 -2
  1342. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +2 -2
  1343. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +3 -5
  1344. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +3 -4
  1345. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +4 -6
  1346. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -2
  1347. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +3 -4
  1348. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -6
  1349. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +3 -5
  1350. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +5 -10
  1351. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +5 -10
  1352. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +3 -4
  1353. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +4 -6
  1354. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -6
  1355. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +4 -6
  1356. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -2
  1357. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +5 -10
  1358. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +4 -6
  1359. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +4 -6
  1360. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1361. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1362. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1363. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +9 -18
  1364. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +35 -143
  1365. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +5 -15
  1366. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +1 -7
  1367. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/GetGroupPaginator.d.ts +1 -4
  1368. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +1 -4
  1369. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListRolesPaginator.d.ts +1 -4
  1370. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +1 -4
  1371. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1372. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1373. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1374. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1375. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1376. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  1377. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +3 -5
  1378. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +3 -6
  1379. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +3 -6
  1380. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/waiters/waitForUserExists.d.ts +3 -6
  1381. package/node_modules/@aws-sdk/client-iam/package.json +40 -40
  1382. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +6 -1
  1383. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +5 -0
  1384. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +4 -4
  1385. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +3 -3
  1386. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +3 -3
  1387. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  1388. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  1389. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +3 -3
  1390. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
  1391. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +2 -2
  1392. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +3 -3
  1393. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
  1394. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +3 -3
  1395. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +3 -3
  1396. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +4 -4
  1397. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +5 -0
  1398. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +1 -1
  1399. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +289 -391
  1400. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +28 -74
  1401. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1402. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  1403. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  1404. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +4 -6
  1405. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +4 -9
  1406. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +4 -6
  1407. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +3 -5
  1408. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +5 -10
  1409. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +4 -6
  1410. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +4 -6
  1411. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +4 -9
  1412. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +4 -6
  1413. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -2
  1414. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +5 -10
  1415. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +4 -6
  1416. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +4 -6
  1417. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +4 -6
  1418. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +4 -9
  1419. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +4 -6
  1420. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +4 -6
  1421. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +4 -6
  1422. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +3 -4
  1423. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +4 -6
  1424. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +4 -9
  1425. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts +7 -5
  1426. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +5 -10
  1427. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +5 -10
  1428. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +5 -10
  1429. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +4 -6
  1430. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +4 -6
  1431. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +5 -10
  1432. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +4 -6
  1433. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +3 -5
  1434. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +5 -10
  1435. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +5 -10
  1436. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +5 -10
  1437. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +4 -6
  1438. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +4 -6
  1439. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +5 -10
  1440. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +5 -10
  1441. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +4 -9
  1442. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +5 -10
  1443. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -5
  1444. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -6
  1445. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +4 -6
  1446. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +8 -14
  1447. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts +8 -9
  1448. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +5 -10
  1449. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +3 -5
  1450. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +4 -9
  1451. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +4 -9
  1452. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +4 -6
  1453. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +3 -5
  1454. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +4 -6
  1455. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +5 -10
  1456. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +4 -6
  1457. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +4 -6
  1458. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +3 -8
  1459. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +5 -10
  1460. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts +2 -4
  1461. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +4 -6
  1462. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -5
  1463. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +5 -10
  1464. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +5 -10
  1465. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +4 -9
  1466. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +4 -6
  1467. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +4 -7
  1468. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +5 -10
  1469. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +4 -6
  1470. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +4 -6
  1471. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +4 -6
  1472. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +4 -6
  1473. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +4 -6
  1474. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
  1475. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +4 -6
  1476. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +4 -6
  1477. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +5 -10
  1478. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +5 -10
  1479. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  1480. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  1481. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +3 -5
  1482. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +5 -10
  1483. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +4 -6
  1484. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +4 -6
  1485. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +5 -11
  1486. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +5 -10
  1487. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -6
  1488. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +4 -6
  1489. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1490. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1491. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1492. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +25 -40
  1493. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +53 -190
  1494. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +8 -24
  1495. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +1 -4
  1496. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +1 -4
  1497. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1498. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1499. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1500. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1501. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1502. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +3 -5
  1503. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +3 -6
  1504. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +3 -6
  1505. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +3 -5
  1506. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +3 -6
  1507. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +3 -5
  1508. package/node_modules/@aws-sdk/client-lambda/package.json +40 -40
  1509. package/node_modules/@aws-sdk/client-s3/README.md +17 -1
  1510. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  1511. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +17 -1
  1512. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +17 -1
  1513. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +0 -5
  1514. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +17 -1
  1515. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +6 -6
  1516. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
  1517. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +354 -501
  1518. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +25 -59
  1519. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1520. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
  1521. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commandBuilder.d.ts +21 -31
  1522. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +5 -10
  1523. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +5 -10
  1524. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -5
  1525. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -5
  1526. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +4 -6
  1527. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +4 -6
  1528. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +5 -10
  1529. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +3 -5
  1530. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -6
  1531. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -2
  1532. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -2
  1533. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
  1534. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  1535. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  1536. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
  1537. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +4 -6
  1538. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +4 -6
  1539. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -6
  1540. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -6
  1541. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
  1542. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +4 -6
  1543. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
  1544. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
  1545. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +5 -10
  1546. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -5
  1547. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +5 -10
  1548. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -5
  1549. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +4 -6
  1550. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +3 -5
  1551. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -6
  1552. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -5
  1553. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -6
  1554. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -5
  1555. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +5 -10
  1556. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  1557. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -6
  1558. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -6
  1559. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +5 -11
  1560. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +4 -9
  1561. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +4 -6
  1562. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +4 -6
  1563. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -6
  1564. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +4 -6
  1565. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +4 -6
  1566. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +4 -9
  1567. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +5 -10
  1568. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +5 -10
  1569. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +5 -10
  1570. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +4 -9
  1571. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +5 -10
  1572. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +4 -9
  1573. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -5
  1574. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +7 -16
  1575. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +5 -10
  1576. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +8 -8
  1577. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +5 -10
  1578. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +4 -6
  1579. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +5 -10
  1580. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +4 -9
  1581. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -14
  1582. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +5 -10
  1583. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +3 -5
  1584. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -5
  1585. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -6
  1586. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -6
  1587. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -6
  1588. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -6
  1589. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -4
  1590. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +4 -9
  1591. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +5 -10
  1592. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +5 -10
  1593. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +5 -10
  1594. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -5
  1595. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -5
  1596. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -5
  1597. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +2 -2
  1598. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -6
  1599. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -2
  1600. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -6
  1601. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -2
  1602. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
  1603. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  1604. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -6
  1605. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -6
  1606. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -2
  1607. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -6
  1608. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -6
  1609. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  1610. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -2
  1611. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +3 -4
  1612. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -6
  1613. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -2
  1614. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +3 -4
  1615. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -2
  1616. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +3 -5
  1617. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +9 -17
  1618. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -11
  1619. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +5 -10
  1620. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -6
  1621. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +5 -10
  1622. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +4 -9
  1623. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
  1624. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +3 -5
  1625. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -5
  1626. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +5 -10
  1627. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +4 -6
  1628. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +4 -6
  1629. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +4 -6
  1630. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +5 -10
  1631. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +8 -11
  1632. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +4 -9
  1633. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -11
  1634. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -13
  1635. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1636. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1637. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +32 -64
  1638. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +10 -30
  1639. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +12 -36
  1640. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +2 -9
  1641. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +1 -4
  1642. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -4
  1643. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -36
  1644. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +15 -33
  1645. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -36
  1646. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -6
  1647. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1648. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +3 -6
  1649. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +3 -6
  1650. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +3 -6
  1651. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +3 -6
  1652. package/node_modules/@aws-sdk/client-s3/package.json +44 -44
  1653. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
  1654. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +1 -1
  1655. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/SNS.d.ts +141 -174
  1656. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/SNSClient.d.ts +20 -48
  1657. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1658. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  1659. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  1660. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -2
  1661. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +4 -6
  1662. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +5 -10
  1663. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +4 -6
  1664. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +5 -10
  1665. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +4 -6
  1666. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +3 -5
  1667. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -2
  1668. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +4 -6
  1669. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +4 -6
  1670. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +2 -2
  1671. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +5 -10
  1672. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +5 -10
  1673. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +4 -6
  1674. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +3 -8
  1675. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -5
  1676. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +4 -6
  1677. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +5 -10
  1678. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +4 -6
  1679. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +4 -9
  1680. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -5
  1681. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +3 -5
  1682. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -5
  1683. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +4 -6
  1684. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +3 -7
  1685. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  1686. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +2 -4
  1687. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +4 -9
  1688. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +3 -5
  1689. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -5
  1690. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +4 -6
  1691. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
  1692. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +3 -4
  1693. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +4 -6
  1694. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +4 -9
  1695. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +4 -6
  1696. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +3 -4
  1697. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -5
  1698. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  1699. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +2 -2
  1700. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  1701. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +4 -6
  1702. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1703. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1704. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1705. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/models/enums.d.ts +2 -4
  1706. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/models/errors.d.ts +27 -96
  1707. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +1 -4
  1708. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1709. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1710. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1711. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1712. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1713. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  1714. package/node_modules/@aws-sdk/client-sns/package.json +39 -39
  1715. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  1716. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +1 -1
  1717. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/SQS.d.ts +79 -106
  1718. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/SQSClient.d.ts +23 -57
  1719. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1720. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  1721. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commandBuilder.d.ts +11 -21
  1722. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -2
  1723. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +5 -10
  1724. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +4 -6
  1725. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +4 -6
  1726. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +3 -5
  1727. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +5 -10
  1728. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +2 -2
  1729. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +2 -2
  1730. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +5 -10
  1731. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +3 -5
  1732. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +4 -6
  1733. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +5 -10
  1734. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +3 -5
  1735. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -4
  1736. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +2 -2
  1737. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +4 -9
  1738. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
  1739. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +4 -9
  1740. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/SendMessageCommand.d.ts +3 -5
  1741. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +3 -4
  1742. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +5 -10
  1743. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/TagQueueCommand.d.ts +6 -2
  1744. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +2 -2
  1745. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1746. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1747. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1748. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/models/enums.d.ts +1 -2
  1749. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/models/errors.d.ts +12 -36
  1750. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/models/models_0.d.ts +2 -6
  1751. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +1 -4
  1752. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1753. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1754. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1755. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1756. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1757. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  1758. package/node_modules/@aws-sdk/client-sqs/package.json +41 -41
  1759. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +8 -4
  1760. package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +7 -3
  1761. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +8 -4
  1762. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +2 -2
  1763. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
  1764. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +3 -1
  1765. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +1 -1
  1766. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +10 -4
  1767. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -1
  1768. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
  1769. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
  1770. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +1 -1
  1771. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -2
  1772. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
  1773. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
  1774. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +513 -642
  1775. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +17 -36
  1776. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  1777. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  1778. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commandBuilder.d.ts +8 -18
  1779. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +5 -11
  1780. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts +4 -6
  1781. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts +3 -5
  1782. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts +4 -6
  1783. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts +4 -9
  1784. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts +5 -10
  1785. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts +5 -11
  1786. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateCloudConnectorCommand.d.ts +5 -10
  1787. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts +4 -9
  1788. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts +5 -10
  1789. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts +4 -9
  1790. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts +5 -11
  1791. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts +5 -10
  1792. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts +5 -10
  1793. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts +4 -9
  1794. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +4 -10
  1795. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteCloudConnectorCommand.d.ts +5 -10
  1796. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +4 -9
  1797. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts +4 -9
  1798. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts +5 -10
  1799. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +4 -9
  1800. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts +5 -11
  1801. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts +4 -9
  1802. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts +4 -9
  1803. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts +5 -10
  1804. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts +5 -10
  1805. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
  1806. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts +4 -6
  1807. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +4 -6
  1808. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +4 -6
  1809. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +4 -6
  1810. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts +4 -9
  1811. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts +4 -9
  1812. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts +4 -6
  1813. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts +4 -6
  1814. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts +3 -5
  1815. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts +4 -6
  1816. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts +3 -5
  1817. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts +4 -9
  1818. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts +4 -6
  1819. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +4 -6
  1820. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +4 -6
  1821. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts +4 -6
  1822. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts +3 -5
  1823. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts +4 -6
  1824. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +4 -6
  1825. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts +5 -10
  1826. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +3 -5
  1827. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts +3 -5
  1828. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +4 -6
  1829. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +4 -6
  1830. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +4 -6
  1831. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +3 -5
  1832. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +4 -6
  1833. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -6
  1834. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +3 -5
  1835. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +4 -6
  1836. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +3 -8
  1837. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +4 -9
  1838. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts +4 -9
  1839. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts +5 -10
  1840. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts +4 -9
  1841. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts +5 -10
  1842. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +4 -9
  1843. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts +4 -6
  1844. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +4 -9
  1845. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts +5 -10
  1846. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts +4 -9
  1847. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCloudConnectorCommand.d.ts +5 -11
  1848. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts +5 -10
  1849. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts +5 -10
  1850. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts +4 -9
  1851. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +4 -6
  1852. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +3 -5
  1853. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +5 -10
  1854. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts +2 -4
  1855. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts +4 -9
  1856. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts +5 -10
  1857. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts +4 -6
  1858. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +4 -6
  1859. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +4 -6
  1860. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts +4 -6
  1861. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts +3 -5
  1862. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts +4 -9
  1863. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts +2 -4
  1864. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts +3 -5
  1865. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts +5 -10
  1866. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts +5 -10
  1867. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +3 -5
  1868. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts +4 -9
  1869. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts +4 -6
  1870. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +5 -10
  1871. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts +5 -11
  1872. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts +5 -10
  1873. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts +5 -10
  1874. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +3 -8
  1875. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCloudConnectorsCommand.d.ts +4 -9
  1876. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts +4 -9
  1877. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +2 -4
  1878. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts +4 -9
  1879. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts +4 -9
  1880. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts +4 -6
  1881. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts +5 -10
  1882. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +2 -4
  1883. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts +5 -10
  1884. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +4 -4
  1885. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +4 -9
  1886. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts +4 -9
  1887. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts +3 -5
  1888. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts +3 -8
  1889. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts +3 -5
  1890. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts +4 -9
  1891. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  1892. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts +4 -6
  1893. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts +5 -10
  1894. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts +3 -5
  1895. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts +3 -5
  1896. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
  1897. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts +4 -6
  1898. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +4 -6
  1899. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +4 -6
  1900. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +4 -6
  1901. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +5 -10
  1902. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +5 -10
  1903. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +4 -9
  1904. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +5 -10
  1905. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +3 -5
  1906. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +5 -10
  1907. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +5 -10
  1908. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +4 -6
  1909. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +4 -6
  1910. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +5 -10
  1911. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +3 -5
  1912. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +5 -10
  1913. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +4 -9
  1914. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +5 -10
  1915. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +5 -11
  1916. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +5 -10
  1917. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateCloudConnectorCommand.d.ts +5 -10
  1918. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +4 -9
  1919. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts +4 -6
  1920. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +5 -10
  1921. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +5 -10
  1922. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts +4 -6
  1923. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts +4 -6
  1924. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts +4 -6
  1925. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts +4 -9
  1926. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts +5 -11
  1927. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts +5 -10
  1928. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts +5 -10
  1929. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts +5 -10
  1930. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ValidateCloudConnectorCommand.d.ts +5 -10
  1931. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  1932. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  1933. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  1934. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/enums.d.ts +31 -62
  1935. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/errors.d.ts +115 -458
  1936. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +6 -18
  1937. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +7 -21
  1938. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +1 -4
  1939. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  1940. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +9 -17
  1941. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  1942. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  1943. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  1944. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts +3 -5
  1945. package/node_modules/@aws-sdk/client-ssm/package.json +39 -39
  1946. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -1
  1947. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +8 -8
  1948. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
  1949. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
  1950. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -1
  1951. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -1
  1952. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
  1953. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
  1954. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +1 -5
  1955. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +2 -4
  1956. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +1 -3
  1957. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -4
  1958. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +3 -12
  1959. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +4 -16
  1960. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +3 -12
  1961. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +2 -4
  1962. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +5 -9
  1963. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +3 -6
  1964. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -2
  1965. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +1 -3
  1966. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +1 -3
  1967. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +1 -4
  1968. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +1 -4
  1969. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +1 -4
  1970. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +2 -6
  1971. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +1 -1
  1972. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +4 -7
  1973. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +2 -2
  1974. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +1 -1
  1975. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +3 -8
  1976. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +1 -1
  1977. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +1 -1
  1978. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +1 -1
  1979. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +1 -1
  1980. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +3 -9
  1981. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -5
  1982. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +1 -3
  1983. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +2 -6
  1984. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +2 -6
  1985. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +2 -6
  1986. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +1 -3
  1987. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +2 -5
  1988. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +4 -6
  1989. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -3
  1990. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -8
  1991. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +3 -8
  1992. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +8 -17
  1993. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +1 -1
  1994. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +1 -4
  1995. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -19
  1996. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +2 -2
  1997. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +1 -1
  1998. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -5
  1999. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -2
  2000. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -3
  2001. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +1 -4
  2002. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -5
  2003. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +1 -3
  2004. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +1 -1
  2005. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +4 -13
  2006. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -7
  2007. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  2008. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +3 -3
  2009. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +3 -12
  2010. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +1 -1
  2011. package/node_modules/@aws-sdk/core/package.json +65 -62
  2012. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -3
  2013. package/node_modules/@aws-sdk/credential-provider-env/package.json +32 -32
  2014. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -3
  2015. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -3
  2016. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +1 -1
  2017. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +1 -1
  2018. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +1 -4
  2019. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +1 -4
  2020. package/node_modules/@aws-sdk/credential-provider-http/package.json +34 -34
  2021. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -8
  2022. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  2023. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +2 -4
  2024. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +1 -1
  2025. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
  2026. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -1
  2027. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +1 -1
  2028. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +2 -4
  2029. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +2 -4
  2030. package/node_modules/@aws-sdk/credential-provider-ini/package.json +40 -40
  2031. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +4 -4
  2032. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +4 -4
  2033. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +1 -1
  2034. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +1 -1
  2035. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +1 -6
  2036. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +1 -3
  2037. package/node_modules/@aws-sdk/credential-provider-login/package.json +35 -35
  2038. package/node_modules/@aws-sdk/credential-provider-node/dist-types/index.d.ts +1 -0
  2039. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +4 -11
  2040. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/index.d.ts +1 -0
  2041. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +1 -1
  2042. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +3 -3
  2043. package/node_modules/@aws-sdk/credential-provider-node/package.json +39 -39
  2044. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +2 -4
  2045. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +1 -1
  2046. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +1 -1
  2047. package/node_modules/@aws-sdk/credential-provider-process/package.json +32 -32
  2048. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -4
  2049. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +2 -8
  2050. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +1 -1
  2051. package/node_modules/@aws-sdk/credential-provider-sso/package.json +34 -34
  2052. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +3 -7
  2053. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -7
  2054. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/index.d.ts +1 -4
  2055. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +40 -40
  2056. package/node_modules/@aws-sdk/middleware-sdk-ec2/dist-types/ts3.4/index.d.ts +2 -2
  2057. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +34 -34
  2058. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/NodeUseArnRegionConfigOptions.d.ts +1 -3
  2059. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +1 -4
  2060. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +1 -4
  2061. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.d.ts +3 -7
  2062. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostname.d.ts +1 -1
  2063. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.d.ts +9 -12
  2064. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/configurations.d.ts +1 -1
  2065. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts +3 -12
  2066. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts +2 -2
  2067. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/configuration.d.ts +1 -1
  2068. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts +3 -7
  2069. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts +1 -1
  2070. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts +1 -1
  2071. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts +3 -8
  2072. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-configuration/s3Configuration.d.ts +1 -1
  2073. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts +3 -7
  2074. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -4
  2075. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +1 -5
  2076. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -5
  2077. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +3 -6
  2078. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.d.ts +2 -4
  2079. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/signS3Express.d.ts +3 -6
  2080. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.d.ts +1 -1
  2081. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts +3 -7
  2082. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts +2 -2
  2083. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts +2 -6
  2084. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/protocol/S3RestXmlProtocol.d.ts +1 -1
  2085. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +1 -1
  2086. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +1 -4
  2087. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +3 -12
  2088. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +1 -5
  2089. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +1 -1
  2090. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +1 -1
  2091. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +2 -6
  2092. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +3 -8
  2093. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +62 -59
  2094. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-types/ts3.4/index.d.ts +1 -5
  2095. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-types/ts3.4/queue-url.d.ts +6 -17
  2096. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-types/ts3.4/receive-message.d.ts +3 -9
  2097. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-types/ts3.4/send-message-batch.d.ts +3 -9
  2098. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-types/ts3.4/send-message.d.ts +3 -9
  2099. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +32 -32
  2100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +11 -9
  2101. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +121 -76
  2102. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +6 -5
  2103. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +6 -5
  2104. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  2105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
  2106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +2 -0
  2107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
  2108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +3 -0
  2109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
  2110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  2111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +80 -70
  2112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  2113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
  2114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
  2115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
  2116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  2117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  2118. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
  2119. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +7 -0
  2120. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -2
  2121. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  2122. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +8 -4
  2123. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
  2124. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
  2125. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  2126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  2127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +41 -3
  2128. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +3 -0
  2129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
  2130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  2131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
  2132. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  2133. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  2134. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +7 -15
  2135. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
  2136. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  2137. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
  2138. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
  2139. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
  2140. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
  2141. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
  2142. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
  2143. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
  2144. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
  2145. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +13 -30
  2146. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +12 -26
  2147. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +13 -30
  2148. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +6 -12
  2149. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
  2150. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
  2151. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +20 -3
  2152. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +25 -27
  2153. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  2154. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
  2155. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +13 -18
  2156. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +9 -14
  2157. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +42 -0
  2158. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  2159. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +2 -1
  2160. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
  2161. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
  2162. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
  2163. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
  2164. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +9 -0
  2165. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +13 -30
  2166. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +12 -26
  2167. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +13 -30
  2168. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +5 -9
  2169. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
  2170. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +4 -5
  2171. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
  2172. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
  2173. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  2174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
  2175. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
  2176. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
  2177. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
  2178. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
  2179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
  2180. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
  2181. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +12 -27
  2182. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +11 -23
  2183. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +12 -27
  2184. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +5 -9
  2185. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
  2186. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
  2187. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
  2188. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
  2189. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  2190. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
  2191. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
  2192. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
  2193. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
  2194. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
  2195. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
  2196. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
  2197. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +12 -27
  2198. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +11 -23
  2199. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +12 -27
  2200. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +5 -9
  2201. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
  2202. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
  2203. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
  2204. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
  2205. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  2206. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
  2207. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
  2208. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
  2209. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
  2210. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  2211. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
  2212. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
  2213. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
  2214. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
  2215. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
  2216. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +14 -34
  2217. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +14 -33
  2218. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +14 -34
  2219. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +6 -10
  2220. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
  2221. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
  2222. package/node_modules/@aws-sdk/nested-clients/package.json +53 -50
  2223. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +5 -13
  2224. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4SignWithCredentials.d.ts +2 -2
  2225. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -8
  2226. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +1 -1
  2227. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +29 -29
  2228. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +1 -4
  2229. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +2 -6
  2230. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +2 -9
  2231. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +2 -4
  2232. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +1 -1
  2233. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +1 -3
  2234. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -5
  2235. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +1 -4
  2236. package/node_modules/@aws-sdk/token-providers/package.json +35 -35
  2237. package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +1 -7
  2238. package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +1 -6
  2239. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +2 -5
  2240. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +1 -5
  2241. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +7 -39
  2242. package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +1 -9
  2243. package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +1 -6
  2244. package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +1 -6
  2245. package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +1 -4
  2246. package/node_modules/@aws-sdk/types/package.json +30 -30
  2247. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +2 -12
  2248. package/node_modules/@aws-sdk/xml-builder/package.json +34 -34
  2249. package/node_modules/@jsep-plugin/assignment/LICENSE +20 -0
  2250. package/node_modules/@jsep-plugin/assignment/README.md +37 -0
  2251. package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.js +95 -0
  2252. package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.js.map +1 -0
  2253. package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.min.js +2 -0
  2254. package/node_modules/@jsep-plugin/assignment/dist/cjs/index.cjs.min.js.map +1 -0
  2255. package/node_modules/@jsep-plugin/assignment/dist/cjs/package.json +3 -0
  2256. package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.js +98 -0
  2257. package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.js.map +1 -0
  2258. package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.min.js +2 -0
  2259. package/node_modules/@jsep-plugin/assignment/dist/iife/index.iife.min.js.map +1 -0
  2260. package/node_modules/@jsep-plugin/assignment/dist/index.js +92 -0
  2261. package/node_modules/@jsep-plugin/assignment/dist/index.min.js +2 -0
  2262. package/node_modules/@jsep-plugin/assignment/dist/index.min.js.map +1 -0
  2263. package/node_modules/@jsep-plugin/assignment/package.json +39 -0
  2264. package/node_modules/@jsep-plugin/assignment/types/tsd.d.ts +39 -0
  2265. package/node_modules/@jsep-plugin/regex/LICENSE +20 -0
  2266. package/node_modules/@jsep-plugin/regex/README.md +36 -0
  2267. package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.js +66 -0
  2268. package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.js.map +1 -0
  2269. package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.min.js +2 -0
  2270. package/node_modules/@jsep-plugin/regex/dist/cjs/index.cjs.min.js.map +1 -0
  2271. package/node_modules/@jsep-plugin/regex/dist/cjs/package.json +3 -0
  2272. package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.js +69 -0
  2273. package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.js.map +1 -0
  2274. package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.min.js +2 -0
  2275. package/node_modules/@jsep-plugin/regex/dist/iife/index.iife.min.js.map +1 -0
  2276. package/node_modules/@jsep-plugin/regex/dist/index.js +63 -0
  2277. package/node_modules/@jsep-plugin/regex/dist/index.min.js +2 -0
  2278. package/node_modules/@jsep-plugin/regex/dist/index.min.js.map +1 -0
  2279. package/node_modules/@jsep-plugin/regex/package.json +39 -0
  2280. package/node_modules/@jsep-plugin/regex/types/tsd.d.ts +7 -0
  2281. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -3
  2282. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
  2283. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +3 -3
  2284. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
  2285. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +5 -3
  2286. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +30 -12
  2287. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +20 -20
  2288. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +20 -20
  2289. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  2290. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +3 -3
  2291. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +3 -3
  2292. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -4
  2293. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -4
  2294. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +16 -6
  2295. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -4
  2296. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +1 -1
  2297. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -2
  2298. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  2299. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
  2300. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
  2301. package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
  2302. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
  2303. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js +8 -1
  2304. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js +2 -1
  2305. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +11 -9
  2306. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js +8 -0
  2307. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -0
  2308. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
  2309. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
  2310. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +20 -20
  2311. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
  2312. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
  2313. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
  2314. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
  2315. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
  2316. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
  2317. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
  2318. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
  2319. package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
  2320. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +2 -2
  2321. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +11 -1
  2322. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
  2323. package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +1 -1
  2324. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
  2325. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
  2326. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
  2327. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
  2328. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  2329. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
  2330. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +11 -0
  2331. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.d.ts +17 -0
  2332. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +12 -0
  2333. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
  2334. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
  2335. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -4
  2336. package/node_modules/@smithy/core/package.json +91 -89
  2337. package/node_modules/@smithy/credential-provider-imds/package.json +35 -37
  2338. package/node_modules/@smithy/fetch-http-handler/package.json +31 -33
  2339. package/node_modules/@smithy/middleware-compression/README.md +1 -1
  2340. package/node_modules/@smithy/middleware-compression/dist-types/index.d.ts +1 -1
  2341. package/node_modules/@smithy/middleware-compression/dist-types/ts3.4/index.d.ts +1 -1
  2342. package/node_modules/@smithy/middleware-compression/package.json +42 -42
  2343. package/node_modules/@smithy/node-http-handler/package.json +34 -36
  2344. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -11
  2345. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +10 -10
  2346. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
  2347. package/node_modules/@smithy/signature-v4/package.json +30 -32
  2348. package/node_modules/jsep/LICENSE +20 -0
  2349. package/node_modules/jsep/README.md +208 -0
  2350. package/node_modules/jsep/dist/cjs/jsep.cjs.js +1129 -0
  2351. package/node_modules/jsep/dist/cjs/jsep.cjs.js.map +1 -0
  2352. package/node_modules/jsep/dist/cjs/jsep.cjs.min.js +2 -0
  2353. package/node_modules/jsep/dist/cjs/jsep.cjs.min.js.map +1 -0
  2354. package/node_modules/jsep/dist/cjs/package.json +3 -0
  2355. package/node_modules/jsep/dist/iife/jsep.iife.js +1132 -0
  2356. package/node_modules/jsep/dist/iife/jsep.iife.js.map +1 -0
  2357. package/node_modules/jsep/dist/iife/jsep.iife.min.js +2 -0
  2358. package/node_modules/jsep/dist/iife/jsep.iife.min.js.map +1 -0
  2359. package/node_modules/jsep/dist/jsep.js +1126 -0
  2360. package/node_modules/jsep/dist/jsep.min.js +2 -0
  2361. package/node_modules/jsep/dist/jsep.min.js.map +1 -0
  2362. package/node_modules/jsep/package.json +153 -0
  2363. package/node_modules/jsep/typings/tsd.d.ts +180 -0
  2364. package/node_modules/jsonpath-plus/.claude/settings.local.json +9 -0
  2365. package/node_modules/jsonpath-plus/CHANGES.md +453 -0
  2366. package/node_modules/jsonpath-plus/LICENSE +22 -0
  2367. package/node_modules/jsonpath-plus/README.md +412 -0
  2368. package/node_modules/jsonpath-plus/SECURITY.md +38 -0
  2369. package/node_modules/jsonpath-plus/bin/jsonpath-cli.js +36 -0
  2370. package/node_modules/jsonpath-plus/dist/index-browser-esm.js +2164 -0
  2371. package/node_modules/jsonpath-plus/dist/index-browser-esm.min.js +2 -0
  2372. package/node_modules/jsonpath-plus/dist/index-browser-esm.min.js.map +1 -0
  2373. package/node_modules/jsonpath-plus/dist/index-browser-umd.cjs +2172 -0
  2374. package/node_modules/jsonpath-plus/dist/index-browser-umd.min.cjs +2 -0
  2375. package/node_modules/jsonpath-plus/dist/index-browser-umd.min.cjs.map +1 -0
  2376. package/node_modules/jsonpath-plus/dist/index-node-cjs.cjs +2076 -0
  2377. package/node_modules/jsonpath-plus/dist/index-node-esm.js +2074 -0
  2378. package/node_modules/jsonpath-plus/package.json +141 -0
  2379. package/node_modules/jsonpath-plus/pnpm-workspace.yaml +2 -0
  2380. package/node_modules/jsonpath-plus/src/Safe-Script.js +208 -0
  2381. package/node_modules/jsonpath-plus/src/jsonpath-browser.js +102 -0
  2382. package/node_modules/jsonpath-plus/src/jsonpath-node.js +8 -0
  2383. package/node_modules/jsonpath-plus/src/jsonpath.d.ts +226 -0
  2384. package/node_modules/jsonpath-plus/src/jsonpath.js +784 -0
  2385. package/package.json +12 -12
  2386. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/getEndpointUrlConfig.js +0 -21
  2387. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
  2388. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +0 -12
  2389. package/node_modules/escodegen/LICENSE.BSD +0 -21
  2390. package/node_modules/escodegen/README.md +0 -84
  2391. package/node_modules/escodegen/bin/escodegen.js +0 -77
  2392. package/node_modules/escodegen/bin/esgenerate.js +0 -64
  2393. package/node_modules/escodegen/escodegen.js +0 -2667
  2394. package/node_modules/escodegen/package.json +0 -63
  2395. package/node_modules/esprima/LICENSE.BSD +0 -21
  2396. package/node_modules/esprima/README.md +0 -46
  2397. package/node_modules/esprima/bin/esparse.js +0 -139
  2398. package/node_modules/esprima/bin/esvalidate.js +0 -236
  2399. package/node_modules/esprima/dist/esprima.js +0 -6709
  2400. package/node_modules/esprima/package.json +0 -112
  2401. package/node_modules/estraverse/.jshintrc +0 -16
  2402. package/node_modules/estraverse/LICENSE.BSD +0 -19
  2403. package/node_modules/estraverse/README.md +0 -153
  2404. package/node_modules/estraverse/estraverse.js +0 -805
  2405. package/node_modules/estraverse/gulpfile.js +0 -70
  2406. package/node_modules/estraverse/package.json +0 -40
  2407. package/node_modules/esutils/LICENSE.BSD +0 -19
  2408. package/node_modules/esutils/README.md +0 -174
  2409. package/node_modules/esutils/lib/ast.js +0 -144
  2410. package/node_modules/esutils/lib/code.js +0 -135
  2411. package/node_modules/esutils/lib/keyword.js +0 -165
  2412. package/node_modules/esutils/lib/utils.js +0 -33
  2413. package/node_modules/esutils/package.json +0 -44
  2414. package/node_modules/jsonpath/.jscsrc +0 -60
  2415. package/node_modules/jsonpath/.jshintrc +0 -9
  2416. package/node_modules/jsonpath/.travis.yml +0 -3
  2417. package/node_modules/jsonpath/Dockerfile +0 -1
  2418. package/node_modules/jsonpath/Gruntfile.js +0 -83
  2419. package/node_modules/jsonpath/LICENSE +0 -7
  2420. package/node_modules/jsonpath/README.md +0 -216
  2421. package/node_modules/jsonpath/bin/generate_parser.js +0 -8
  2422. package/node_modules/jsonpath/fig.yml +0 -5
  2423. package/node_modules/jsonpath/generated/parser.js +0 -721
  2424. package/node_modules/jsonpath/include/action.js +0 -4
  2425. package/node_modules/jsonpath/include/module.js +0 -34
  2426. package/node_modules/jsonpath/index.js +0 -1
  2427. package/node_modules/jsonpath/jsonpath.js +0 -7093
  2428. package/node_modules/jsonpath/jsonpath.min.js +0 -4
  2429. package/node_modules/jsonpath/lib/aesprim.js +0 -18
  2430. package/node_modules/jsonpath/lib/dict.js +0 -6
  2431. package/node_modules/jsonpath/lib/grammar.js +0 -106
  2432. package/node_modules/jsonpath/lib/handlers.js +0 -409
  2433. package/node_modules/jsonpath/lib/index.js +0 -304
  2434. package/node_modules/jsonpath/lib/parser.js +0 -21
  2435. package/node_modules/jsonpath/lib/slice.js +0 -41
  2436. package/node_modules/jsonpath/node_modules/esprima/LICENSE.BSD +0 -19
  2437. package/node_modules/jsonpath/node_modules/esprima/README.md +0 -24
  2438. package/node_modules/jsonpath/node_modules/esprima/bin/esparse.js +0 -127
  2439. package/node_modules/jsonpath/node_modules/esprima/bin/esvalidate.js +0 -199
  2440. package/node_modules/jsonpath/node_modules/esprima/esprima.js +0 -3772
  2441. package/node_modules/jsonpath/node_modules/esprima/package.json +0 -83
  2442. package/node_modules/jsonpath/node_modules/esprima/test/compat.js +0 -241
  2443. package/node_modules/jsonpath/node_modules/esprima/test/reflect.js +0 -422
  2444. package/node_modules/jsonpath/node_modules/esprima/test/run.js +0 -67
  2445. package/node_modules/jsonpath/node_modules/esprima/test/runner.js +0 -495
  2446. package/node_modules/jsonpath/node_modules/esprima/test/test.js +0 -25593
  2447. package/node_modules/jsonpath/package.json +0 -45
  2448. package/node_modules/jsonpath/test/data/store.json +0 -31
  2449. package/node_modules/jsonpath/test/lessons.js +0 -38
  2450. package/node_modules/jsonpath/test/parse.js +0 -164
  2451. package/node_modules/jsonpath/test/query.js +0 -359
  2452. package/node_modules/jsonpath/test/security.js +0 -238
  2453. package/node_modules/jsonpath/test/slice.js +0 -57
  2454. package/node_modules/jsonpath/test/stringify.js +0 -54
  2455. package/node_modules/jsonpath/test/sugar.js +0 -72
  2456. package/node_modules/source-map/LICENSE +0 -28
  2457. package/node_modules/source-map/README.md +0 -742
  2458. package/node_modules/source-map/dist/source-map.debug.js +0 -3234
  2459. package/node_modules/source-map/dist/source-map.js +0 -3233
  2460. package/node_modules/source-map/dist/source-map.min.js +0 -2
  2461. package/node_modules/source-map/dist/source-map.min.js.map +0 -1
  2462. package/node_modules/source-map/lib/array-set.js +0 -121
  2463. package/node_modules/source-map/lib/base64-vlq.js +0 -140
  2464. package/node_modules/source-map/lib/base64.js +0 -67
  2465. package/node_modules/source-map/lib/binary-search.js +0 -111
  2466. package/node_modules/source-map/lib/mapping-list.js +0 -79
  2467. package/node_modules/source-map/lib/quick-sort.js +0 -114
  2468. package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  2469. package/node_modules/source-map/lib/source-map-generator.js +0 -425
  2470. package/node_modules/source-map/lib/source-node.js +0 -413
  2471. package/node_modules/source-map/lib/util.js +0 -488
  2472. package/node_modules/source-map/package.json +0 -73
  2473. package/node_modules/source-map/source-map.d.ts +0 -98
  2474. package/node_modules/source-map/source-map.js +0 -8
  2475. package/node_modules/static-eval/.travis.yml +0 -18
  2476. package/node_modules/static-eval/CHANGELOG.md +0 -21
  2477. package/node_modules/static-eval/LICENSE +0 -20
  2478. package/node_modules/static-eval/example/eval.js +0 -7
  2479. package/node_modules/static-eval/example/vars.js +0 -11
  2480. package/node_modules/static-eval/index.js +0 -209
  2481. package/node_modules/static-eval/package.json +0 -54
  2482. package/node_modules/static-eval/readme.markdown +0 -87
  2483. package/node_modules/static-eval/security.md +0 -15
  2484. package/node_modules/static-eval/test/eval.js +0 -177
  2485. package/node_modules/static-eval/test/prop.js +0 -16
  2486. package/node_modules/static-eval/test/template-strings.js +0 -33
  2487. package/node_modules/underscore/LICENSE +0 -22
  2488. package/node_modules/underscore/README.md +0 -34
  2489. package/node_modules/underscore/amd/_baseCreate.js +0 -21
  2490. package/node_modules/underscore/amd/_baseIteratee.js +0 -15
  2491. package/node_modules/underscore/amd/_cb.js +0 -12
  2492. package/node_modules/underscore/amd/_chainResult.js +0 -10
  2493. package/node_modules/underscore/amd/_collectNonEnumProps.js +0 -42
  2494. package/node_modules/underscore/amd/_createAssigner.js +0 -24
  2495. package/node_modules/underscore/amd/_createEscaper.js +0 -21
  2496. package/node_modules/underscore/amd/_createIndexFinder.js +0 -30
  2497. package/node_modules/underscore/amd/_createPredicateIndexFinder.js +0 -18
  2498. package/node_modules/underscore/amd/_createReduce.js +0 -30
  2499. package/node_modules/underscore/amd/_createSizePropertyCheck.js +0 -13
  2500. package/node_modules/underscore/amd/_deepGet.js +0 -15
  2501. package/node_modules/underscore/amd/_escapeMap.js +0 -15
  2502. package/node_modules/underscore/amd/_executeBound.js +0 -16
  2503. package/node_modules/underscore/amd/_flatten.js +0 -32
  2504. package/node_modules/underscore/amd/_getByteLength.js +0 -8
  2505. package/node_modules/underscore/amd/_getLength.js +0 -8
  2506. package/node_modules/underscore/amd/_group.js +0 -18
  2507. package/node_modules/underscore/amd/_has.js +0 -10
  2508. package/node_modules/underscore/amd/_hasObjectTag.js +0 -7
  2509. package/node_modules/underscore/amd/_isArrayLike.js +0 -11
  2510. package/node_modules/underscore/amd/_isBufferLike.js +0 -9
  2511. package/node_modules/underscore/amd/_keyInObj.js +0 -11
  2512. package/node_modules/underscore/amd/_methodFingerprint.js +0 -44
  2513. package/node_modules/underscore/amd/_optimizeCb.js +0 -27
  2514. package/node_modules/underscore/amd/_set.js +0 -21
  2515. package/node_modules/underscore/amd/_setup.js +0 -70
  2516. package/node_modules/underscore/amd/_shallowProperty.js +0 -12
  2517. package/node_modules/underscore/amd/_stringTagBug.js +0 -16
  2518. package/node_modules/underscore/amd/_tagTester.js +0 -13
  2519. package/node_modules/underscore/amd/_toBufferView.js +0 -15
  2520. package/node_modules/underscore/amd/_toPath.js +0 -11
  2521. package/node_modules/underscore/amd/_unescapeMap.js +0 -8
  2522. package/node_modules/underscore/amd/after.js +0 -14
  2523. package/node_modules/underscore/amd/allKeys.js +0 -15
  2524. package/node_modules/underscore/amd/before.js +0 -18
  2525. package/node_modules/underscore/amd/bind.js +0 -15
  2526. package/node_modules/underscore/amd/bindAll.js +0 -19
  2527. package/node_modules/underscore/amd/chain.js +0 -12
  2528. package/node_modules/underscore/amd/chunk.js +0 -17
  2529. package/node_modules/underscore/amd/clone.js +0 -11
  2530. package/node_modules/underscore/amd/compact.js +0 -10
  2531. package/node_modules/underscore/amd/compose.js +0 -18
  2532. package/node_modules/underscore/amd/constant.js +0 -12
  2533. package/node_modules/underscore/amd/contains.js +0 -12
  2534. package/node_modules/underscore/amd/countBy.js +0 -12
  2535. package/node_modules/underscore/amd/create.js +0 -14
  2536. package/node_modules/underscore/amd/debounce.js +0 -43
  2537. package/node_modules/underscore/amd/defaults.js +0 -8
  2538. package/node_modules/underscore/amd/defer.js +0 -9
  2539. package/node_modules/underscore/amd/delay.js +0 -13
  2540. package/node_modules/underscore/amd/difference.js +0 -14
  2541. package/node_modules/underscore/amd/each.js +0 -25
  2542. package/node_modules/underscore/amd/escape.js +0 -8
  2543. package/node_modules/underscore/amd/every.js +0 -17
  2544. package/node_modules/underscore/amd/extend.js +0 -8
  2545. package/node_modules/underscore/amd/extendOwn.js +0 -10
  2546. package/node_modules/underscore/amd/filter.js +0 -15
  2547. package/node_modules/underscore/amd/find.js +0 -12
  2548. package/node_modules/underscore/amd/findIndex.js +0 -8
  2549. package/node_modules/underscore/amd/findKey.js +0 -15
  2550. package/node_modules/underscore/amd/findLastIndex.js +0 -8
  2551. package/node_modules/underscore/amd/findWhere.js +0 -11
  2552. package/node_modules/underscore/amd/first.js +0 -13
  2553. package/node_modules/underscore/amd/flatten.js +0 -11
  2554. package/node_modules/underscore/amd/functions.js +0 -14
  2555. package/node_modules/underscore/amd/get.js +0 -14
  2556. package/node_modules/underscore/amd/groupBy.js +0 -11
  2557. package/node_modules/underscore/amd/has.js +0 -19
  2558. package/node_modules/underscore/amd/identity.js +0 -10
  2559. package/node_modules/underscore/amd/index-default.js +0 -12
  2560. package/node_modules/underscore/amd/index.js +0 -154
  2561. package/node_modules/underscore/amd/indexBy.js +0 -11
  2562. package/node_modules/underscore/amd/indexOf.js +0 -11
  2563. package/node_modules/underscore/amd/initial.js +0 -12
  2564. package/node_modules/underscore/amd/intersection.js +0 -22
  2565. package/node_modules/underscore/amd/invert.js +0 -15
  2566. package/node_modules/underscore/amd/invoke.js +0 -28
  2567. package/node_modules/underscore/amd/isArguments.js +0 -19
  2568. package/node_modules/underscore/amd/isArray.js +0 -9
  2569. package/node_modules/underscore/amd/isArrayBuffer.js +0 -7
  2570. package/node_modules/underscore/amd/isBoolean.js +0 -10
  2571. package/node_modules/underscore/amd/isDataView.js +0 -15
  2572. package/node_modules/underscore/amd/isDate.js +0 -7
  2573. package/node_modules/underscore/amd/isElement.js +0 -10
  2574. package/node_modules/underscore/amd/isEmpty.js +0 -18
  2575. package/node_modules/underscore/amd/isEqual.js +0 -133
  2576. package/node_modules/underscore/amd/isError.js +0 -7
  2577. package/node_modules/underscore/amd/isFinite.js +0 -10
  2578. package/node_modules/underscore/amd/isFunction.js +0 -18
  2579. package/node_modules/underscore/amd/isMap.js +0 -7
  2580. package/node_modules/underscore/amd/isMatch.js +0 -17
  2581. package/node_modules/underscore/amd/isNaN.js +0 -10
  2582. package/node_modules/underscore/amd/isNull.js +0 -10
  2583. package/node_modules/underscore/amd/isNumber.js +0 -7
  2584. package/node_modules/underscore/amd/isObject.js +0 -11
  2585. package/node_modules/underscore/amd/isRegExp.js +0 -7
  2586. package/node_modules/underscore/amd/isSet.js +0 -7
  2587. package/node_modules/underscore/amd/isString.js +0 -7
  2588. package/node_modules/underscore/amd/isSymbol.js +0 -7
  2589. package/node_modules/underscore/amd/isTypedArray.js +0 -16
  2590. package/node_modules/underscore/amd/isUndefined.js +0 -10
  2591. package/node_modules/underscore/amd/isWeakMap.js +0 -7
  2592. package/node_modules/underscore/amd/isWeakSet.js +0 -7
  2593. package/node_modules/underscore/amd/iteratee.js +0 -13
  2594. package/node_modules/underscore/amd/keys.js +0 -17
  2595. package/node_modules/underscore/amd/last.js +0 -13
  2596. package/node_modules/underscore/amd/lastIndexOf.js +0 -9
  2597. package/node_modules/underscore/amd/map.js +0 -18
  2598. package/node_modules/underscore/amd/mapObject.js +0 -19
  2599. package/node_modules/underscore/amd/matcher.js +0 -14
  2600. package/node_modules/underscore/amd/max.js +0 -30
  2601. package/node_modules/underscore/amd/memoize.js +0 -17
  2602. package/node_modules/underscore/amd/min.js +0 -30
  2603. package/node_modules/underscore/amd/mixin.js +0 -18
  2604. package/node_modules/underscore/amd/negate.js +0 -12
  2605. package/node_modules/underscore/amd/noop.js +0 -8
  2606. package/node_modules/underscore/amd/now.js +0 -10
  2607. package/node_modules/underscore/amd/object.js +0 -20
  2608. package/node_modules/underscore/amd/omit.js +0 -20
  2609. package/node_modules/underscore/amd/once.js +0 -9
  2610. package/node_modules/underscore/amd/pairs.js +0 -17
  2611. package/node_modules/underscore/amd/partial.js +0 -25
  2612. package/node_modules/underscore/amd/partition.js +0 -11
  2613. package/node_modules/underscore/amd/pick.js +0 -25
  2614. package/node_modules/underscore/amd/pluck.js +0 -10
  2615. package/node_modules/underscore/amd/property.js +0 -14
  2616. package/node_modules/underscore/amd/propertyOf.js +0 -13
  2617. package/node_modules/underscore/amd/random.js +0 -14
  2618. package/node_modules/underscore/amd/range.js +0 -27
  2619. package/node_modules/underscore/amd/reduce.js +0 -9
  2620. package/node_modules/underscore/amd/reduceRight.js +0 -8
  2621. package/node_modules/underscore/amd/reject.js +0 -10
  2622. package/node_modules/underscore/amd/rest.js +0 -12
  2623. package/node_modules/underscore/amd/restArguments.js +0 -33
  2624. package/node_modules/underscore/amd/result.js +0 -25
  2625. package/node_modules/underscore/amd/sample.js +0 -27
  2626. package/node_modules/underscore/amd/set.js +0 -15
  2627. package/node_modules/underscore/amd/shuffle.js +0 -10
  2628. package/node_modules/underscore/amd/size.js +0 -11
  2629. package/node_modules/underscore/amd/some.js +0 -17
  2630. package/node_modules/underscore/amd/sortBy.js +0 -26
  2631. package/node_modules/underscore/amd/sortedIndex.js +0 -18
  2632. package/node_modules/underscore/amd/tap.js +0 -13
  2633. package/node_modules/underscore/amd/template.js +0 -103
  2634. package/node_modules/underscore/amd/templateSettings.js +0 -13
  2635. package/node_modules/underscore/amd/throttle.js +0 -51
  2636. package/node_modules/underscore/amd/times.js +0 -13
  2637. package/node_modules/underscore/amd/toArray.js +0 -18
  2638. package/node_modules/underscore/amd/toPath.js +0 -12
  2639. package/node_modules/underscore/amd/underscore-array-methods.js +0 -30
  2640. package/node_modules/underscore/amd/underscore.js +0 -29
  2641. package/node_modules/underscore/amd/unescape.js +0 -8
  2642. package/node_modules/underscore/amd/union.js +0 -11
  2643. package/node_modules/underscore/amd/uniq.js +0 -37
  2644. package/node_modules/underscore/amd/uniqueId.js +0 -13
  2645. package/node_modules/underscore/amd/unzip.js +0 -17
  2646. package/node_modules/underscore/amd/values.js +0 -16
  2647. package/node_modules/underscore/amd/where.js +0 -11
  2648. package/node_modules/underscore/amd/without.js +0 -10
  2649. package/node_modules/underscore/amd/wrap.js +0 -12
  2650. package/node_modules/underscore/amd/zip.js +0 -9
  2651. package/node_modules/underscore/cjs/_baseCreate.js +0 -20
  2652. package/node_modules/underscore/cjs/_baseIteratee.js +0 -19
  2653. package/node_modules/underscore/cjs/_cb.js +0 -12
  2654. package/node_modules/underscore/cjs/_chainResult.js +0 -8
  2655. package/node_modules/underscore/cjs/_collectNonEnumProps.js +0 -42
  2656. package/node_modules/underscore/cjs/_createAssigner.js +0 -20
  2657. package/node_modules/underscore/cjs/_createEscaper.js +0 -19
  2658. package/node_modules/underscore/cjs/_createIndexFinder.js +0 -30
  2659. package/node_modules/underscore/cjs/_createPredicateIndexFinder.js +0 -17
  2660. package/node_modules/underscore/cjs/_createReduce.js +0 -30
  2661. package/node_modules/underscore/cjs/_createSizePropertyCheck.js +0 -11
  2662. package/node_modules/underscore/cjs/_deepGet.js +0 -11
  2663. package/node_modules/underscore/cjs/_escapeMap.js +0 -11
  2664. package/node_modules/underscore/cjs/_executeBound.js +0 -15
  2665. package/node_modules/underscore/cjs/_flatten.js +0 -33
  2666. package/node_modules/underscore/cjs/_getByteLength.js +0 -6
  2667. package/node_modules/underscore/cjs/_getLength.js +0 -6
  2668. package/node_modules/underscore/cjs/_group.js +0 -17
  2669. package/node_modules/underscore/cjs/_has.js +0 -8
  2670. package/node_modules/underscore/cjs/_hasObjectTag.js +0 -5
  2671. package/node_modules/underscore/cjs/_isArrayLike.js +0 -10
  2672. package/node_modules/underscore/cjs/_isBufferLike.js +0 -8
  2673. package/node_modules/underscore/cjs/_keyInObj.js +0 -7
  2674. package/node_modules/underscore/cjs/_methodFingerprint.js +0 -44
  2675. package/node_modules/underscore/cjs/_optimizeCb.js +0 -23
  2676. package/node_modules/underscore/cjs/_set.js +0 -21
  2677. package/node_modules/underscore/cjs/_setup.js +0 -66
  2678. package/node_modules/underscore/cjs/_shallowProperty.js +0 -8
  2679. package/node_modules/underscore/cjs/_stringTagBug.js +0 -15
  2680. package/node_modules/underscore/cjs/_tagTester.js +0 -11
  2681. package/node_modules/underscore/cjs/_toBufferView.js +0 -13
  2682. package/node_modules/underscore/cjs/_toPath.js +0 -10
  2683. package/node_modules/underscore/cjs/_unescapeMap.js +0 -7
  2684. package/node_modules/underscore/cjs/after.js +0 -10
  2685. package/node_modules/underscore/cjs/allKeys.js +0 -15
  2686. package/node_modules/underscore/cjs/before.js +0 -14
  2687. package/node_modules/underscore/cjs/bind.js +0 -15
  2688. package/node_modules/underscore/cjs/bindAll.js +0 -19
  2689. package/node_modules/underscore/cjs/chain.js +0 -10
  2690. package/node_modules/underscore/cjs/chunk.js +0 -15
  2691. package/node_modules/underscore/cjs/clone.js +0 -11
  2692. package/node_modules/underscore/cjs/compact.js +0 -8
  2693. package/node_modules/underscore/cjs/compose.js +0 -14
  2694. package/node_modules/underscore/cjs/constant.js +0 -8
  2695. package/node_modules/underscore/cjs/contains.js +0 -12
  2696. package/node_modules/underscore/cjs/countBy.js +0 -11
  2697. package/node_modules/underscore/cjs/create.js +0 -13
  2698. package/node_modules/underscore/cjs/debounce.js +0 -42
  2699. package/node_modules/underscore/cjs/defaults.js +0 -7
  2700. package/node_modules/underscore/cjs/defer.js +0 -9
  2701. package/node_modules/underscore/cjs/delay.js +0 -11
  2702. package/node_modules/underscore/cjs/difference.js +0 -15
  2703. package/node_modules/underscore/cjs/each.js +0 -25
  2704. package/node_modules/underscore/cjs/escape.js +0 -7
  2705. package/node_modules/underscore/cjs/every.js +0 -17
  2706. package/node_modules/underscore/cjs/extend.js +0 -7
  2707. package/node_modules/underscore/cjs/extendOwn.js +0 -9
  2708. package/node_modules/underscore/cjs/filter.js +0 -14
  2709. package/node_modules/underscore/cjs/find.js +0 -12
  2710. package/node_modules/underscore/cjs/findIndex.js +0 -6
  2711. package/node_modules/underscore/cjs/findKey.js +0 -14
  2712. package/node_modules/underscore/cjs/findLastIndex.js +0 -6
  2713. package/node_modules/underscore/cjs/findWhere.js +0 -10
  2714. package/node_modules/underscore/cjs/first.js +0 -11
  2715. package/node_modules/underscore/cjs/flatten.js +0 -9
  2716. package/node_modules/underscore/cjs/functions.js +0 -12
  2717. package/node_modules/underscore/cjs/get.js +0 -14
  2718. package/node_modules/underscore/cjs/groupBy.js +0 -10
  2719. package/node_modules/underscore/cjs/has.js +0 -18
  2720. package/node_modules/underscore/cjs/identity.js +0 -6
  2721. package/node_modules/underscore/cjs/index-default.js +0 -11
  2722. package/node_modules/underscore/cjs/index.js +0 -278
  2723. package/node_modules/underscore/cjs/indexBy.js +0 -9
  2724. package/node_modules/underscore/cjs/indexOf.js +0 -11
  2725. package/node_modules/underscore/cjs/initial.js +0 -10
  2726. package/node_modules/underscore/cjs/intersection.js +0 -21
  2727. package/node_modules/underscore/cjs/invert.js +0 -13
  2728. package/node_modules/underscore/cjs/invoke.js +0 -30
  2729. package/node_modules/underscore/cjs/isArguments.js +0 -18
  2730. package/node_modules/underscore/cjs/isArray.js +0 -8
  2731. package/node_modules/underscore/cjs/isArrayBuffer.js +0 -5
  2732. package/node_modules/underscore/cjs/isBoolean.js +0 -8
  2733. package/node_modules/underscore/cjs/isDataView.js +0 -16
  2734. package/node_modules/underscore/cjs/isDate.js +0 -5
  2735. package/node_modules/underscore/cjs/isElement.js +0 -6
  2736. package/node_modules/underscore/cjs/isEmpty.js +0 -20
  2737. package/node_modules/underscore/cjs/isEqual.js +0 -140
  2738. package/node_modules/underscore/cjs/isError.js +0 -5
  2739. package/node_modules/underscore/cjs/isFinite.js +0 -9
  2740. package/node_modules/underscore/cjs/isFunction.js +0 -17
  2741. package/node_modules/underscore/cjs/isMap.js +0 -7
  2742. package/node_modules/underscore/cjs/isMatch.js +0 -15
  2743. package/node_modules/underscore/cjs/isNaN.js +0 -9
  2744. package/node_modules/underscore/cjs/isNull.js +0 -6
  2745. package/node_modules/underscore/cjs/isNumber.js +0 -5
  2746. package/node_modules/underscore/cjs/isObject.js +0 -7
  2747. package/node_modules/underscore/cjs/isRegExp.js +0 -5
  2748. package/node_modules/underscore/cjs/isSet.js +0 -7
  2749. package/node_modules/underscore/cjs/isString.js +0 -5
  2750. package/node_modules/underscore/cjs/isSymbol.js +0 -5
  2751. package/node_modules/underscore/cjs/isTypedArray.js +0 -17
  2752. package/node_modules/underscore/cjs/isUndefined.js +0 -6
  2753. package/node_modules/underscore/cjs/isWeakMap.js +0 -7
  2754. package/node_modules/underscore/cjs/isWeakSet.js +0 -5
  2755. package/node_modules/underscore/cjs/iteratee.js +0 -12
  2756. package/node_modules/underscore/cjs/keys.js +0 -18
  2757. package/node_modules/underscore/cjs/last.js +0 -11
  2758. package/node_modules/underscore/cjs/lastIndexOf.js +0 -8
  2759. package/node_modules/underscore/cjs/map.js +0 -18
  2760. package/node_modules/underscore/cjs/mapObject.js +0 -18
  2761. package/node_modules/underscore/cjs/matcher.js +0 -13
  2762. package/node_modules/underscore/cjs/max.js +0 -31
  2763. package/node_modules/underscore/cjs/memoize.js +0 -15
  2764. package/node_modules/underscore/cjs/min.js +0 -31
  2765. package/node_modules/underscore/cjs/mixin.js +0 -20
  2766. package/node_modules/underscore/cjs/negate.js +0 -8
  2767. package/node_modules/underscore/cjs/noop.js +0 -4
  2768. package/node_modules/underscore/cjs/now.js +0 -6
  2769. package/node_modules/underscore/cjs/object.js +0 -18
  2770. package/node_modules/underscore/cjs/omit.js +0 -24
  2771. package/node_modules/underscore/cjs/once.js +0 -8
  2772. package/node_modules/underscore/cjs/pairs.js +0 -15
  2773. package/node_modules/underscore/cjs/partial.js +0 -25
  2774. package/node_modules/underscore/cjs/partition.js +0 -9
  2775. package/node_modules/underscore/cjs/pick.js +0 -28
  2776. package/node_modules/underscore/cjs/pluck.js +0 -9
  2777. package/node_modules/underscore/cjs/property.js +0 -13
  2778. package/node_modules/underscore/cjs/propertyOf.js +0 -12
  2779. package/node_modules/underscore/cjs/random.js +0 -10
  2780. package/node_modules/underscore/cjs/range.js +0 -23
  2781. package/node_modules/underscore/cjs/reduce.js +0 -7
  2782. package/node_modules/underscore/cjs/reduceRight.js +0 -6
  2783. package/node_modules/underscore/cjs/reject.js +0 -10
  2784. package/node_modules/underscore/cjs/rest.js +0 -10
  2785. package/node_modules/underscore/cjs/restArguments.js +0 -29
  2786. package/node_modules/underscore/cjs/result.js +0 -24
  2787. package/node_modules/underscore/cjs/sample.js +0 -29
  2788. package/node_modules/underscore/cjs/set.js +0 -15
  2789. package/node_modules/underscore/cjs/shuffle.js +0 -8
  2790. package/node_modules/underscore/cjs/size.js +0 -10
  2791. package/node_modules/underscore/cjs/some.js +0 -17
  2792. package/node_modules/underscore/cjs/sortBy.js +0 -26
  2793. package/node_modules/underscore/cjs/sortedIndex.js +0 -17
  2794. package/node_modules/underscore/cjs/tap.js +0 -9
  2795. package/node_modules/underscore/cjs/template.js +0 -103
  2796. package/node_modules/underscore/cjs/templateSettings.js +0 -11
  2797. package/node_modules/underscore/cjs/throttle.js +0 -49
  2798. package/node_modules/underscore/cjs/times.js +0 -11
  2799. package/node_modules/underscore/cjs/toArray.js +0 -22
  2800. package/node_modules/underscore/cjs/toPath.js +0 -11
  2801. package/node_modules/underscore/cjs/underscore-array-methods.js +0 -31
  2802. package/node_modules/underscore/cjs/underscore.js +0 -27
  2803. package/node_modules/underscore/cjs/unescape.js +0 -7
  2804. package/node_modules/underscore/cjs/union.js +0 -11
  2805. package/node_modules/underscore/cjs/uniq.js +0 -38
  2806. package/node_modules/underscore/cjs/uniqueId.js +0 -9
  2807. package/node_modules/underscore/cjs/unzip.js +0 -17
  2808. package/node_modules/underscore/cjs/values.js +0 -14
  2809. package/node_modules/underscore/cjs/where.js +0 -10
  2810. package/node_modules/underscore/cjs/without.js +0 -9
  2811. package/node_modules/underscore/cjs/wrap.js +0 -10
  2812. package/node_modules/underscore/cjs/zip.js +0 -8
  2813. package/node_modules/underscore/modules/.eslintrc +0 -21
  2814. package/node_modules/underscore/modules/_baseCreate.js +0 -18
  2815. package/node_modules/underscore/modules/_baseIteratee.js +0 -17
  2816. package/node_modules/underscore/modules/_cb.js +0 -10
  2817. package/node_modules/underscore/modules/_chainResult.js +0 -6
  2818. package/node_modules/underscore/modules/_collectNonEnumProps.js +0 -40
  2819. package/node_modules/underscore/modules/_createAssigner.js +0 -18
  2820. package/node_modules/underscore/modules/_createEscaper.js +0 -17
  2821. package/node_modules/underscore/modules/_createIndexFinder.js +0 -28
  2822. package/node_modules/underscore/modules/_createPredicateIndexFinder.js +0 -15
  2823. package/node_modules/underscore/modules/_createReduce.js +0 -28
  2824. package/node_modules/underscore/modules/_createSizePropertyCheck.js +0 -9
  2825. package/node_modules/underscore/modules/_deepGet.js +0 -9
  2826. package/node_modules/underscore/modules/_escapeMap.js +0 -9
  2827. package/node_modules/underscore/modules/_executeBound.js +0 -13
  2828. package/node_modules/underscore/modules/_flatten.js +0 -31
  2829. package/node_modules/underscore/modules/_getByteLength.js +0 -4
  2830. package/node_modules/underscore/modules/_getLength.js +0 -4
  2831. package/node_modules/underscore/modules/_group.js +0 -15
  2832. package/node_modules/underscore/modules/_has.js +0 -6
  2833. package/node_modules/underscore/modules/_hasObjectTag.js +0 -3
  2834. package/node_modules/underscore/modules/_isArrayLike.js +0 -8
  2835. package/node_modules/underscore/modules/_isBufferLike.js +0 -6
  2836. package/node_modules/underscore/modules/_keyInObj.js +0 -5
  2837. package/node_modules/underscore/modules/_methodFingerprint.js +0 -37
  2838. package/node_modules/underscore/modules/_optimizeCb.js +0 -21
  2839. package/node_modules/underscore/modules/_setup.js +0 -43
  2840. package/node_modules/underscore/modules/_shallowProperty.js +0 -6
  2841. package/node_modules/underscore/modules/_stringTagBug.js +0 -10
  2842. package/node_modules/underscore/modules/_tagTester.js +0 -9
  2843. package/node_modules/underscore/modules/_toBufferView.js +0 -11
  2844. package/node_modules/underscore/modules/_toPath.js +0 -8
  2845. package/node_modules/underscore/modules/_unescapeMap.js +0 -5
  2846. package/node_modules/underscore/modules/after.js +0 -8
  2847. package/node_modules/underscore/modules/allKeys.js +0 -13
  2848. package/node_modules/underscore/modules/before.js +0 -12
  2849. package/node_modules/underscore/modules/bind.js +0 -13
  2850. package/node_modules/underscore/modules/bindAll.js +0 -17
  2851. package/node_modules/underscore/modules/chain.js +0 -8
  2852. package/node_modules/underscore/modules/chunk.js +0 -13
  2853. package/node_modules/underscore/modules/clone.js +0 -9
  2854. package/node_modules/underscore/modules/compact.js +0 -6
  2855. package/node_modules/underscore/modules/compose.js +0 -12
  2856. package/node_modules/underscore/modules/constant.js +0 -6
  2857. package/node_modules/underscore/modules/contains.js +0 -10
  2858. package/node_modules/underscore/modules/countBy.js +0 -9
  2859. package/node_modules/underscore/modules/create.js +0 -11
  2860. package/node_modules/underscore/modules/debounce.js +0 -40
  2861. package/node_modules/underscore/modules/defaults.js +0 -5
  2862. package/node_modules/underscore/modules/defer.js +0 -7
  2863. package/node_modules/underscore/modules/delay.js +0 -9
  2864. package/node_modules/underscore/modules/difference.js +0 -13
  2865. package/node_modules/underscore/modules/each.js +0 -23
  2866. package/node_modules/underscore/modules/escape.js +0 -5
  2867. package/node_modules/underscore/modules/every.js +0 -15
  2868. package/node_modules/underscore/modules/extend.js +0 -5
  2869. package/node_modules/underscore/modules/extendOwn.js +0 -7
  2870. package/node_modules/underscore/modules/filter.js +0 -12
  2871. package/node_modules/underscore/modules/find.js +0 -10
  2872. package/node_modules/underscore/modules/findIndex.js +0 -4
  2873. package/node_modules/underscore/modules/findKey.js +0 -12
  2874. package/node_modules/underscore/modules/findLastIndex.js +0 -4
  2875. package/node_modules/underscore/modules/findWhere.js +0 -8
  2876. package/node_modules/underscore/modules/first.js +0 -9
  2877. package/node_modules/underscore/modules/flatten.js +0 -7
  2878. package/node_modules/underscore/modules/functions.js +0 -10
  2879. package/node_modules/underscore/modules/get.js +0 -12
  2880. package/node_modules/underscore/modules/groupBy.js +0 -8
  2881. package/node_modules/underscore/modules/has.js +0 -16
  2882. package/node_modules/underscore/modules/identity.js +0 -4
  2883. package/node_modules/underscore/modules/index-all.js +0 -18
  2884. package/node_modules/underscore/modules/index-default.js +0 -27
  2885. package/node_modules/underscore/modules/index.js +0 -200
  2886. package/node_modules/underscore/modules/indexBy.js +0 -7
  2887. package/node_modules/underscore/modules/indexOf.js +0 -9
  2888. package/node_modules/underscore/modules/initial.js +0 -8
  2889. package/node_modules/underscore/modules/intersection.js +0 -19
  2890. package/node_modules/underscore/modules/invert.js +0 -11
  2891. package/node_modules/underscore/modules/invoke.js +0 -28
  2892. package/node_modules/underscore/modules/isArguments.js +0 -16
  2893. package/node_modules/underscore/modules/isArray.js +0 -6
  2894. package/node_modules/underscore/modules/isArrayBuffer.js +0 -3
  2895. package/node_modules/underscore/modules/isBoolean.js +0 -6
  2896. package/node_modules/underscore/modules/isDataView.js +0 -14
  2897. package/node_modules/underscore/modules/isDate.js +0 -3
  2898. package/node_modules/underscore/modules/isElement.js +0 -4
  2899. package/node_modules/underscore/modules/isEmpty.js +0 -18
  2900. package/node_modules/underscore/modules/isEqual.js +0 -138
  2901. package/node_modules/underscore/modules/isError.js +0 -3
  2902. package/node_modules/underscore/modules/isFinite.js +0 -7
  2903. package/node_modules/underscore/modules/isFunction.js +0 -15
  2904. package/node_modules/underscore/modules/isMap.js +0 -5
  2905. package/node_modules/underscore/modules/isMatch.js +0 -13
  2906. package/node_modules/underscore/modules/isNaN.js +0 -7
  2907. package/node_modules/underscore/modules/isNull.js +0 -4
  2908. package/node_modules/underscore/modules/isNumber.js +0 -3
  2909. package/node_modules/underscore/modules/isObject.js +0 -5
  2910. package/node_modules/underscore/modules/isRegExp.js +0 -3
  2911. package/node_modules/underscore/modules/isSet.js +0 -5
  2912. package/node_modules/underscore/modules/isString.js +0 -3
  2913. package/node_modules/underscore/modules/isSymbol.js +0 -3
  2914. package/node_modules/underscore/modules/isTypedArray.js +0 -15
  2915. package/node_modules/underscore/modules/isUndefined.js +0 -4
  2916. package/node_modules/underscore/modules/isWeakMap.js +0 -5
  2917. package/node_modules/underscore/modules/isWeakSet.js +0 -3
  2918. package/node_modules/underscore/modules/iteratee.js +0 -10
  2919. package/node_modules/underscore/modules/keys.js +0 -16
  2920. package/node_modules/underscore/modules/last.js +0 -9
  2921. package/node_modules/underscore/modules/lastIndexOf.js +0 -6
  2922. package/node_modules/underscore/modules/map.js +0 -16
  2923. package/node_modules/underscore/modules/mapObject.js +0 -16
  2924. package/node_modules/underscore/modules/matcher.js +0 -11
  2925. package/node_modules/underscore/modules/max.js +0 -29
  2926. package/node_modules/underscore/modules/memoize.js +0 -13
  2927. package/node_modules/underscore/modules/min.js +0 -29
  2928. package/node_modules/underscore/modules/mixin.js +0 -18
  2929. package/node_modules/underscore/modules/negate.js +0 -6
  2930. package/node_modules/underscore/modules/noop.js +0 -2
  2931. package/node_modules/underscore/modules/now.js +0 -4
  2932. package/node_modules/underscore/modules/object.js +0 -16
  2933. package/node_modules/underscore/modules/omit.js +0 -22
  2934. package/node_modules/underscore/modules/once.js +0 -6
  2935. package/node_modules/underscore/modules/package.json +0 -1
  2936. package/node_modules/underscore/modules/pairs.js +0 -13
  2937. package/node_modules/underscore/modules/partial.js +0 -24
  2938. package/node_modules/underscore/modules/partition.js +0 -7
  2939. package/node_modules/underscore/modules/pick.js +0 -26
  2940. package/node_modules/underscore/modules/pluck.js +0 -7
  2941. package/node_modules/underscore/modules/property.js +0 -11
  2942. package/node_modules/underscore/modules/propertyOf.js +0 -10
  2943. package/node_modules/underscore/modules/random.js +0 -8
  2944. package/node_modules/underscore/modules/range.js +0 -21
  2945. package/node_modules/underscore/modules/reduce.js +0 -5
  2946. package/node_modules/underscore/modules/reduceRight.js +0 -4
  2947. package/node_modules/underscore/modules/reject.js +0 -8
  2948. package/node_modules/underscore/modules/rest.js +0 -8
  2949. package/node_modules/underscore/modules/restArguments.js +0 -27
  2950. package/node_modules/underscore/modules/result.js +0 -22
  2951. package/node_modules/underscore/modules/sample.js +0 -27
  2952. package/node_modules/underscore/modules/shuffle.js +0 -6
  2953. package/node_modules/underscore/modules/size.js +0 -8
  2954. package/node_modules/underscore/modules/some.js +0 -15
  2955. package/node_modules/underscore/modules/sortBy.js +0 -24
  2956. package/node_modules/underscore/modules/sortedIndex.js +0 -15
  2957. package/node_modules/underscore/modules/tap.js +0 -7
  2958. package/node_modules/underscore/modules/template.js +0 -101
  2959. package/node_modules/underscore/modules/templateSettings.js +0 -9
  2960. package/node_modules/underscore/modules/throttle.js +0 -47
  2961. package/node_modules/underscore/modules/times.js +0 -9
  2962. package/node_modules/underscore/modules/toArray.js +0 -20
  2963. package/node_modules/underscore/modules/toPath.js +0 -9
  2964. package/node_modules/underscore/modules/underscore-array-methods.js +0 -31
  2965. package/node_modules/underscore/modules/underscore.js +0 -25
  2966. package/node_modules/underscore/modules/unescape.js +0 -5
  2967. package/node_modules/underscore/modules/union.js +0 -9
  2968. package/node_modules/underscore/modules/uniq.js +0 -36
  2969. package/node_modules/underscore/modules/uniqueId.js +0 -7
  2970. package/node_modules/underscore/modules/unzip.js +0 -15
  2971. package/node_modules/underscore/modules/values.js +0 -12
  2972. package/node_modules/underscore/modules/where.js +0 -8
  2973. package/node_modules/underscore/modules/without.js +0 -7
  2974. package/node_modules/underscore/modules/wrap.js +0 -8
  2975. package/node_modules/underscore/modules/zip.js +0 -6
  2976. package/node_modules/underscore/package.json +0 -124
  2977. package/node_modules/underscore/underscore-esm-min.js +0 -5
  2978. package/node_modules/underscore/underscore-esm-min.js.map +0 -1
  2979. package/node_modules/underscore/underscore-esm.js +0 -2034
  2980. package/node_modules/underscore/underscore-esm.js.map +0 -1
  2981. package/node_modules/underscore/underscore-min.js +0 -6
  2982. package/node_modules/underscore/underscore-min.js.map +0 -1
  2983. package/node_modules/underscore/underscore-node-f.cjs +0 -2158
  2984. package/node_modules/underscore/underscore-node-f.cjs.map +0 -1
  2985. package/node_modules/underscore/underscore-node.cjs +0 -11
  2986. package/node_modules/underscore/underscore-node.cjs.map +0 -1
  2987. package/node_modules/underscore/underscore-node.mjs +0 -7
  2988. package/node_modules/underscore/underscore-node.mjs.map +0 -1
  2989. package/node_modules/underscore/underscore-umd-min.js +0 -6
  2990. package/node_modules/underscore/underscore-umd-min.js.map +0 -1
  2991. package/node_modules/underscore/underscore-umd.js +0 -2042
  2992. package/node_modules/underscore/underscore-umd.js.map +0 -1
  2993. package/node_modules/underscore/underscore.js +0 -2042
@@ -1,3234 +0,0 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory();
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else if(typeof exports === 'object')
7
- exports["sourceMap"] = factory();
8
- else
9
- root["sourceMap"] = factory();
10
- })(this, function() {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
14
- /******/
15
- /******/ // The require function
16
- /******/ function __webpack_require__(moduleId) {
17
- /******/
18
- /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId])
20
- /******/ return installedModules[moduleId].exports;
21
- /******/
22
- /******/ // Create a new module (and put it into the cache)
23
- /******/ var module = installedModules[moduleId] = {
24
- /******/ exports: {},
25
- /******/ id: moduleId,
26
- /******/ loaded: false
27
- /******/ };
28
- /******/
29
- /******/ // Execute the module function
30
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
- /******/
32
- /******/ // Flag the module as loaded
33
- /******/ module.loaded = true;
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /******/
40
- /******/ // expose the modules object (__webpack_modules__)
41
- /******/ __webpack_require__.m = modules;
42
- /******/
43
- /******/ // expose the module cache
44
- /******/ __webpack_require__.c = installedModules;
45
- /******/
46
- /******/ // __webpack_public_path__
47
- /******/ __webpack_require__.p = "";
48
- /******/
49
- /******/ // Load entry module and return exports
50
- /******/ return __webpack_require__(0);
51
- /******/ })
52
- /************************************************************************/
53
- /******/ ([
54
- /* 0 */
55
- /***/ (function(module, exports, __webpack_require__) {
56
-
57
- /*
58
- * Copyright 2009-2011 Mozilla Foundation and contributors
59
- * Licensed under the New BSD license. See LICENSE.txt or:
60
- * http://opensource.org/licenses/BSD-3-Clause
61
- */
62
- exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
63
- exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer;
64
- exports.SourceNode = __webpack_require__(10).SourceNode;
65
-
66
-
67
- /***/ }),
68
- /* 1 */
69
- /***/ (function(module, exports, __webpack_require__) {
70
-
71
- /* -*- Mode: js; js-indent-level: 2; -*- */
72
- /*
73
- * Copyright 2011 Mozilla Foundation and contributors
74
- * Licensed under the New BSD license. See LICENSE or:
75
- * http://opensource.org/licenses/BSD-3-Clause
76
- */
77
-
78
- var base64VLQ = __webpack_require__(2);
79
- var util = __webpack_require__(4);
80
- var ArraySet = __webpack_require__(5).ArraySet;
81
- var MappingList = __webpack_require__(6).MappingList;
82
-
83
- /**
84
- * An instance of the SourceMapGenerator represents a source map which is
85
- * being built incrementally. You may pass an object with the following
86
- * properties:
87
- *
88
- * - file: The filename of the generated source.
89
- * - sourceRoot: A root for all relative URLs in this source map.
90
- */
91
- function SourceMapGenerator(aArgs) {
92
- if (!aArgs) {
93
- aArgs = {};
94
- }
95
- this._file = util.getArg(aArgs, 'file', null);
96
- this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);
97
- this._skipValidation = util.getArg(aArgs, 'skipValidation', false);
98
- this._sources = new ArraySet();
99
- this._names = new ArraySet();
100
- this._mappings = new MappingList();
101
- this._sourcesContents = null;
102
- }
103
-
104
- SourceMapGenerator.prototype._version = 3;
105
-
106
- /**
107
- * Creates a new SourceMapGenerator based on a SourceMapConsumer
108
- *
109
- * @param aSourceMapConsumer The SourceMap.
110
- */
111
- SourceMapGenerator.fromSourceMap =
112
- function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
113
- var sourceRoot = aSourceMapConsumer.sourceRoot;
114
- var generator = new SourceMapGenerator({
115
- file: aSourceMapConsumer.file,
116
- sourceRoot: sourceRoot
117
- });
118
- aSourceMapConsumer.eachMapping(function (mapping) {
119
- var newMapping = {
120
- generated: {
121
- line: mapping.generatedLine,
122
- column: mapping.generatedColumn
123
- }
124
- };
125
-
126
- if (mapping.source != null) {
127
- newMapping.source = mapping.source;
128
- if (sourceRoot != null) {
129
- newMapping.source = util.relative(sourceRoot, newMapping.source);
130
- }
131
-
132
- newMapping.original = {
133
- line: mapping.originalLine,
134
- column: mapping.originalColumn
135
- };
136
-
137
- if (mapping.name != null) {
138
- newMapping.name = mapping.name;
139
- }
140
- }
141
-
142
- generator.addMapping(newMapping);
143
- });
144
- aSourceMapConsumer.sources.forEach(function (sourceFile) {
145
- var sourceRelative = sourceFile;
146
- if (sourceRoot !== null) {
147
- sourceRelative = util.relative(sourceRoot, sourceFile);
148
- }
149
-
150
- if (!generator._sources.has(sourceRelative)) {
151
- generator._sources.add(sourceRelative);
152
- }
153
-
154
- var content = aSourceMapConsumer.sourceContentFor(sourceFile);
155
- if (content != null) {
156
- generator.setSourceContent(sourceFile, content);
157
- }
158
- });
159
- return generator;
160
- };
161
-
162
- /**
163
- * Add a single mapping from original source line and column to the generated
164
- * source's line and column for this source map being created. The mapping
165
- * object should have the following properties:
166
- *
167
- * - generated: An object with the generated line and column positions.
168
- * - original: An object with the original line and column positions.
169
- * - source: The original source file (relative to the sourceRoot).
170
- * - name: An optional original token name for this mapping.
171
- */
172
- SourceMapGenerator.prototype.addMapping =
173
- function SourceMapGenerator_addMapping(aArgs) {
174
- var generated = util.getArg(aArgs, 'generated');
175
- var original = util.getArg(aArgs, 'original', null);
176
- var source = util.getArg(aArgs, 'source', null);
177
- var name = util.getArg(aArgs, 'name', null);
178
-
179
- if (!this._skipValidation) {
180
- this._validateMapping(generated, original, source, name);
181
- }
182
-
183
- if (source != null) {
184
- source = String(source);
185
- if (!this._sources.has(source)) {
186
- this._sources.add(source);
187
- }
188
- }
189
-
190
- if (name != null) {
191
- name = String(name);
192
- if (!this._names.has(name)) {
193
- this._names.add(name);
194
- }
195
- }
196
-
197
- this._mappings.add({
198
- generatedLine: generated.line,
199
- generatedColumn: generated.column,
200
- originalLine: original != null && original.line,
201
- originalColumn: original != null && original.column,
202
- source: source,
203
- name: name
204
- });
205
- };
206
-
207
- /**
208
- * Set the source content for a source file.
209
- */
210
- SourceMapGenerator.prototype.setSourceContent =
211
- function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
212
- var source = aSourceFile;
213
- if (this._sourceRoot != null) {
214
- source = util.relative(this._sourceRoot, source);
215
- }
216
-
217
- if (aSourceContent != null) {
218
- // Add the source content to the _sourcesContents map.
219
- // Create a new _sourcesContents map if the property is null.
220
- if (!this._sourcesContents) {
221
- this._sourcesContents = Object.create(null);
222
- }
223
- this._sourcesContents[util.toSetString(source)] = aSourceContent;
224
- } else if (this._sourcesContents) {
225
- // Remove the source file from the _sourcesContents map.
226
- // If the _sourcesContents map is empty, set the property to null.
227
- delete this._sourcesContents[util.toSetString(source)];
228
- if (Object.keys(this._sourcesContents).length === 0) {
229
- this._sourcesContents = null;
230
- }
231
- }
232
- };
233
-
234
- /**
235
- * Applies the mappings of a sub-source-map for a specific source file to the
236
- * source map being generated. Each mapping to the supplied source file is
237
- * rewritten using the supplied source map. Note: The resolution for the
238
- * resulting mappings is the minimium of this map and the supplied map.
239
- *
240
- * @param aSourceMapConsumer The source map to be applied.
241
- * @param aSourceFile Optional. The filename of the source file.
242
- * If omitted, SourceMapConsumer's file property will be used.
243
- * @param aSourceMapPath Optional. The dirname of the path to the source map
244
- * to be applied. If relative, it is relative to the SourceMapConsumer.
245
- * This parameter is needed when the two source maps aren't in the same
246
- * directory, and the source map to be applied contains relative source
247
- * paths. If so, those relative source paths need to be rewritten
248
- * relative to the SourceMapGenerator.
249
- */
250
- SourceMapGenerator.prototype.applySourceMap =
251
- function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
252
- var sourceFile = aSourceFile;
253
- // If aSourceFile is omitted, we will use the file property of the SourceMap
254
- if (aSourceFile == null) {
255
- if (aSourceMapConsumer.file == null) {
256
- throw new Error(
257
- 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +
258
- 'or the source map\'s "file" property. Both were omitted.'
259
- );
260
- }
261
- sourceFile = aSourceMapConsumer.file;
262
- }
263
- var sourceRoot = this._sourceRoot;
264
- // Make "sourceFile" relative if an absolute Url is passed.
265
- if (sourceRoot != null) {
266
- sourceFile = util.relative(sourceRoot, sourceFile);
267
- }
268
- // Applying the SourceMap can add and remove items from the sources and
269
- // the names array.
270
- var newSources = new ArraySet();
271
- var newNames = new ArraySet();
272
-
273
- // Find mappings for the "sourceFile"
274
- this._mappings.unsortedForEach(function (mapping) {
275
- if (mapping.source === sourceFile && mapping.originalLine != null) {
276
- // Check if it can be mapped by the source map, then update the mapping.
277
- var original = aSourceMapConsumer.originalPositionFor({
278
- line: mapping.originalLine,
279
- column: mapping.originalColumn
280
- });
281
- if (original.source != null) {
282
- // Copy mapping
283
- mapping.source = original.source;
284
- if (aSourceMapPath != null) {
285
- mapping.source = util.join(aSourceMapPath, mapping.source)
286
- }
287
- if (sourceRoot != null) {
288
- mapping.source = util.relative(sourceRoot, mapping.source);
289
- }
290
- mapping.originalLine = original.line;
291
- mapping.originalColumn = original.column;
292
- if (original.name != null) {
293
- mapping.name = original.name;
294
- }
295
- }
296
- }
297
-
298
- var source = mapping.source;
299
- if (source != null && !newSources.has(source)) {
300
- newSources.add(source);
301
- }
302
-
303
- var name = mapping.name;
304
- if (name != null && !newNames.has(name)) {
305
- newNames.add(name);
306
- }
307
-
308
- }, this);
309
- this._sources = newSources;
310
- this._names = newNames;
311
-
312
- // Copy sourcesContents of applied map.
313
- aSourceMapConsumer.sources.forEach(function (sourceFile) {
314
- var content = aSourceMapConsumer.sourceContentFor(sourceFile);
315
- if (content != null) {
316
- if (aSourceMapPath != null) {
317
- sourceFile = util.join(aSourceMapPath, sourceFile);
318
- }
319
- if (sourceRoot != null) {
320
- sourceFile = util.relative(sourceRoot, sourceFile);
321
- }
322
- this.setSourceContent(sourceFile, content);
323
- }
324
- }, this);
325
- };
326
-
327
- /**
328
- * A mapping can have one of the three levels of data:
329
- *
330
- * 1. Just the generated position.
331
- * 2. The Generated position, original position, and original source.
332
- * 3. Generated and original position, original source, as well as a name
333
- * token.
334
- *
335
- * To maintain consistency, we validate that any new mapping being added falls
336
- * in to one of these categories.
337
- */
338
- SourceMapGenerator.prototype._validateMapping =
339
- function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,
340
- aName) {
341
- // When aOriginal is truthy but has empty values for .line and .column,
342
- // it is most likely a programmer error. In this case we throw a very
343
- // specific error message to try to guide them the right way.
344
- // For example: https://github.com/Polymer/polymer-bundler/pull/519
345
- if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {
346
- throw new Error(
347
- 'original.line and original.column are not numbers -- you probably meant to omit ' +
348
- 'the original mapping entirely and only map the generated position. If so, pass ' +
349
- 'null for the original mapping instead of an object with empty or null values.'
350
- );
351
- }
352
-
353
- if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
354
- && aGenerated.line > 0 && aGenerated.column >= 0
355
- && !aOriginal && !aSource && !aName) {
356
- // Case 1.
357
- return;
358
- }
359
- else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
360
- && aOriginal && 'line' in aOriginal && 'column' in aOriginal
361
- && aGenerated.line > 0 && aGenerated.column >= 0
362
- && aOriginal.line > 0 && aOriginal.column >= 0
363
- && aSource) {
364
- // Cases 2 and 3.
365
- return;
366
- }
367
- else {
368
- throw new Error('Invalid mapping: ' + JSON.stringify({
369
- generated: aGenerated,
370
- source: aSource,
371
- original: aOriginal,
372
- name: aName
373
- }));
374
- }
375
- };
376
-
377
- /**
378
- * Serialize the accumulated mappings in to the stream of base 64 VLQs
379
- * specified by the source map format.
380
- */
381
- SourceMapGenerator.prototype._serializeMappings =
382
- function SourceMapGenerator_serializeMappings() {
383
- var previousGeneratedColumn = 0;
384
- var previousGeneratedLine = 1;
385
- var previousOriginalColumn = 0;
386
- var previousOriginalLine = 0;
387
- var previousName = 0;
388
- var previousSource = 0;
389
- var result = '';
390
- var next;
391
- var mapping;
392
- var nameIdx;
393
- var sourceIdx;
394
-
395
- var mappings = this._mappings.toArray();
396
- for (var i = 0, len = mappings.length; i < len; i++) {
397
- mapping = mappings[i];
398
- next = ''
399
-
400
- if (mapping.generatedLine !== previousGeneratedLine) {
401
- previousGeneratedColumn = 0;
402
- while (mapping.generatedLine !== previousGeneratedLine) {
403
- next += ';';
404
- previousGeneratedLine++;
405
- }
406
- }
407
- else {
408
- if (i > 0) {
409
- if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
410
- continue;
411
- }
412
- next += ',';
413
- }
414
- }
415
-
416
- next += base64VLQ.encode(mapping.generatedColumn
417
- - previousGeneratedColumn);
418
- previousGeneratedColumn = mapping.generatedColumn;
419
-
420
- if (mapping.source != null) {
421
- sourceIdx = this._sources.indexOf(mapping.source);
422
- next += base64VLQ.encode(sourceIdx - previousSource);
423
- previousSource = sourceIdx;
424
-
425
- // lines are stored 0-based in SourceMap spec version 3
426
- next += base64VLQ.encode(mapping.originalLine - 1
427
- - previousOriginalLine);
428
- previousOriginalLine = mapping.originalLine - 1;
429
-
430
- next += base64VLQ.encode(mapping.originalColumn
431
- - previousOriginalColumn);
432
- previousOriginalColumn = mapping.originalColumn;
433
-
434
- if (mapping.name != null) {
435
- nameIdx = this._names.indexOf(mapping.name);
436
- next += base64VLQ.encode(nameIdx - previousName);
437
- previousName = nameIdx;
438
- }
439
- }
440
-
441
- result += next;
442
- }
443
-
444
- return result;
445
- };
446
-
447
- SourceMapGenerator.prototype._generateSourcesContent =
448
- function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
449
- return aSources.map(function (source) {
450
- if (!this._sourcesContents) {
451
- return null;
452
- }
453
- if (aSourceRoot != null) {
454
- source = util.relative(aSourceRoot, source);
455
- }
456
- var key = util.toSetString(source);
457
- return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)
458
- ? this._sourcesContents[key]
459
- : null;
460
- }, this);
461
- };
462
-
463
- /**
464
- * Externalize the source map.
465
- */
466
- SourceMapGenerator.prototype.toJSON =
467
- function SourceMapGenerator_toJSON() {
468
- var map = {
469
- version: this._version,
470
- sources: this._sources.toArray(),
471
- names: this._names.toArray(),
472
- mappings: this._serializeMappings()
473
- };
474
- if (this._file != null) {
475
- map.file = this._file;
476
- }
477
- if (this._sourceRoot != null) {
478
- map.sourceRoot = this._sourceRoot;
479
- }
480
- if (this._sourcesContents) {
481
- map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
482
- }
483
-
484
- return map;
485
- };
486
-
487
- /**
488
- * Render the source map being generated to a string.
489
- */
490
- SourceMapGenerator.prototype.toString =
491
- function SourceMapGenerator_toString() {
492
- return JSON.stringify(this.toJSON());
493
- };
494
-
495
- exports.SourceMapGenerator = SourceMapGenerator;
496
-
497
-
498
- /***/ }),
499
- /* 2 */
500
- /***/ (function(module, exports, __webpack_require__) {
501
-
502
- /* -*- Mode: js; js-indent-level: 2; -*- */
503
- /*
504
- * Copyright 2011 Mozilla Foundation and contributors
505
- * Licensed under the New BSD license. See LICENSE or:
506
- * http://opensource.org/licenses/BSD-3-Clause
507
- *
508
- * Based on the Base 64 VLQ implementation in Closure Compiler:
509
- * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
510
- *
511
- * Copyright 2011 The Closure Compiler Authors. All rights reserved.
512
- * Redistribution and use in source and binary forms, with or without
513
- * modification, are permitted provided that the following conditions are
514
- * met:
515
- *
516
- * * Redistributions of source code must retain the above copyright
517
- * notice, this list of conditions and the following disclaimer.
518
- * * Redistributions in binary form must reproduce the above
519
- * copyright notice, this list of conditions and the following
520
- * disclaimer in the documentation and/or other materials provided
521
- * with the distribution.
522
- * * Neither the name of Google Inc. nor the names of its
523
- * contributors may be used to endorse or promote products derived
524
- * from this software without specific prior written permission.
525
- *
526
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
527
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
528
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
529
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
530
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
531
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
532
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
533
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
534
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
535
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
536
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
537
- */
538
-
539
- var base64 = __webpack_require__(3);
540
-
541
- // A single base 64 digit can contain 6 bits of data. For the base 64 variable
542
- // length quantities we use in the source map spec, the first bit is the sign,
543
- // the next four bits are the actual value, and the 6th bit is the
544
- // continuation bit. The continuation bit tells us whether there are more
545
- // digits in this value following this digit.
546
- //
547
- // Continuation
548
- // | Sign
549
- // | |
550
- // V V
551
- // 101011
552
-
553
- var VLQ_BASE_SHIFT = 5;
554
-
555
- // binary: 100000
556
- var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
557
-
558
- // binary: 011111
559
- var VLQ_BASE_MASK = VLQ_BASE - 1;
560
-
561
- // binary: 100000
562
- var VLQ_CONTINUATION_BIT = VLQ_BASE;
563
-
564
- /**
565
- * Converts from a two-complement value to a value where the sign bit is
566
- * placed in the least significant bit. For example, as decimals:
567
- * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
568
- * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
569
- */
570
- function toVLQSigned(aValue) {
571
- return aValue < 0
572
- ? ((-aValue) << 1) + 1
573
- : (aValue << 1) + 0;
574
- }
575
-
576
- /**
577
- * Converts to a two-complement value from a value where the sign bit is
578
- * placed in the least significant bit. For example, as decimals:
579
- * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1
580
- * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2
581
- */
582
- function fromVLQSigned(aValue) {
583
- var isNegative = (aValue & 1) === 1;
584
- var shifted = aValue >> 1;
585
- return isNegative
586
- ? -shifted
587
- : shifted;
588
- }
589
-
590
- /**
591
- * Returns the base 64 VLQ encoded value.
592
- */
593
- exports.encode = function base64VLQ_encode(aValue) {
594
- var encoded = "";
595
- var digit;
596
-
597
- var vlq = toVLQSigned(aValue);
598
-
599
- do {
600
- digit = vlq & VLQ_BASE_MASK;
601
- vlq >>>= VLQ_BASE_SHIFT;
602
- if (vlq > 0) {
603
- // There are still more digits in this value, so we must make sure the
604
- // continuation bit is marked.
605
- digit |= VLQ_CONTINUATION_BIT;
606
- }
607
- encoded += base64.encode(digit);
608
- } while (vlq > 0);
609
-
610
- return encoded;
611
- };
612
-
613
- /**
614
- * Decodes the next base 64 VLQ value from the given string and returns the
615
- * value and the rest of the string via the out parameter.
616
- */
617
- exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
618
- var strLen = aStr.length;
619
- var result = 0;
620
- var shift = 0;
621
- var continuation, digit;
622
-
623
- do {
624
- if (aIndex >= strLen) {
625
- throw new Error("Expected more digits in base 64 VLQ value.");
626
- }
627
-
628
- digit = base64.decode(aStr.charCodeAt(aIndex++));
629
- if (digit === -1) {
630
- throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1));
631
- }
632
-
633
- continuation = !!(digit & VLQ_CONTINUATION_BIT);
634
- digit &= VLQ_BASE_MASK;
635
- result = result + (digit << shift);
636
- shift += VLQ_BASE_SHIFT;
637
- } while (continuation);
638
-
639
- aOutParam.value = fromVLQSigned(result);
640
- aOutParam.rest = aIndex;
641
- };
642
-
643
-
644
- /***/ }),
645
- /* 3 */
646
- /***/ (function(module, exports) {
647
-
648
- /* -*- Mode: js; js-indent-level: 2; -*- */
649
- /*
650
- * Copyright 2011 Mozilla Foundation and contributors
651
- * Licensed under the New BSD license. See LICENSE or:
652
- * http://opensource.org/licenses/BSD-3-Clause
653
- */
654
-
655
- var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
656
-
657
- /**
658
- * Encode an integer in the range of 0 to 63 to a single base 64 digit.
659
- */
660
- exports.encode = function (number) {
661
- if (0 <= number && number < intToCharMap.length) {
662
- return intToCharMap[number];
663
- }
664
- throw new TypeError("Must be between 0 and 63: " + number);
665
- };
666
-
667
- /**
668
- * Decode a single base 64 character code digit to an integer. Returns -1 on
669
- * failure.
670
- */
671
- exports.decode = function (charCode) {
672
- var bigA = 65; // 'A'
673
- var bigZ = 90; // 'Z'
674
-
675
- var littleA = 97; // 'a'
676
- var littleZ = 122; // 'z'
677
-
678
- var zero = 48; // '0'
679
- var nine = 57; // '9'
680
-
681
- var plus = 43; // '+'
682
- var slash = 47; // '/'
683
-
684
- var littleOffset = 26;
685
- var numberOffset = 52;
686
-
687
- // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ
688
- if (bigA <= charCode && charCode <= bigZ) {
689
- return (charCode - bigA);
690
- }
691
-
692
- // 26 - 51: abcdefghijklmnopqrstuvwxyz
693
- if (littleA <= charCode && charCode <= littleZ) {
694
- return (charCode - littleA + littleOffset);
695
- }
696
-
697
- // 52 - 61: 0123456789
698
- if (zero <= charCode && charCode <= nine) {
699
- return (charCode - zero + numberOffset);
700
- }
701
-
702
- // 62: +
703
- if (charCode == plus) {
704
- return 62;
705
- }
706
-
707
- // 63: /
708
- if (charCode == slash) {
709
- return 63;
710
- }
711
-
712
- // Invalid base64 digit.
713
- return -1;
714
- };
715
-
716
-
717
- /***/ }),
718
- /* 4 */
719
- /***/ (function(module, exports) {
720
-
721
- /* -*- Mode: js; js-indent-level: 2; -*- */
722
- /*
723
- * Copyright 2011 Mozilla Foundation and contributors
724
- * Licensed under the New BSD license. See LICENSE or:
725
- * http://opensource.org/licenses/BSD-3-Clause
726
- */
727
-
728
- /**
729
- * This is a helper function for getting values from parameter/options
730
- * objects.
731
- *
732
- * @param args The object we are extracting values from
733
- * @param name The name of the property we are getting.
734
- * @param defaultValue An optional value to return if the property is missing
735
- * from the object. If this is not specified and the property is missing, an
736
- * error will be thrown.
737
- */
738
- function getArg(aArgs, aName, aDefaultValue) {
739
- if (aName in aArgs) {
740
- return aArgs[aName];
741
- } else if (arguments.length === 3) {
742
- return aDefaultValue;
743
- } else {
744
- throw new Error('"' + aName + '" is a required argument.');
745
- }
746
- }
747
- exports.getArg = getArg;
748
-
749
- var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
750
- var dataUrlRegexp = /^data:.+\,.+$/;
751
-
752
- function urlParse(aUrl) {
753
- var match = aUrl.match(urlRegexp);
754
- if (!match) {
755
- return null;
756
- }
757
- return {
758
- scheme: match[1],
759
- auth: match[2],
760
- host: match[3],
761
- port: match[4],
762
- path: match[5]
763
- };
764
- }
765
- exports.urlParse = urlParse;
766
-
767
- function urlGenerate(aParsedUrl) {
768
- var url = '';
769
- if (aParsedUrl.scheme) {
770
- url += aParsedUrl.scheme + ':';
771
- }
772
- url += '//';
773
- if (aParsedUrl.auth) {
774
- url += aParsedUrl.auth + '@';
775
- }
776
- if (aParsedUrl.host) {
777
- url += aParsedUrl.host;
778
- }
779
- if (aParsedUrl.port) {
780
- url += ":" + aParsedUrl.port
781
- }
782
- if (aParsedUrl.path) {
783
- url += aParsedUrl.path;
784
- }
785
- return url;
786
- }
787
- exports.urlGenerate = urlGenerate;
788
-
789
- /**
790
- * Normalizes a path, or the path portion of a URL:
791
- *
792
- * - Replaces consecutive slashes with one slash.
793
- * - Removes unnecessary '.' parts.
794
- * - Removes unnecessary '<dir>/..' parts.
795
- *
796
- * Based on code in the Node.js 'path' core module.
797
- *
798
- * @param aPath The path or url to normalize.
799
- */
800
- function normalize(aPath) {
801
- var path = aPath;
802
- var url = urlParse(aPath);
803
- if (url) {
804
- if (!url.path) {
805
- return aPath;
806
- }
807
- path = url.path;
808
- }
809
- var isAbsolute = exports.isAbsolute(path);
810
-
811
- var parts = path.split(/\/+/);
812
- for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
813
- part = parts[i];
814
- if (part === '.') {
815
- parts.splice(i, 1);
816
- } else if (part === '..') {
817
- up++;
818
- } else if (up > 0) {
819
- if (part === '') {
820
- // The first part is blank if the path is absolute. Trying to go
821
- // above the root is a no-op. Therefore we can remove all '..' parts
822
- // directly after the root.
823
- parts.splice(i + 1, up);
824
- up = 0;
825
- } else {
826
- parts.splice(i, 2);
827
- up--;
828
- }
829
- }
830
- }
831
- path = parts.join('/');
832
-
833
- if (path === '') {
834
- path = isAbsolute ? '/' : '.';
835
- }
836
-
837
- if (url) {
838
- url.path = path;
839
- return urlGenerate(url);
840
- }
841
- return path;
842
- }
843
- exports.normalize = normalize;
844
-
845
- /**
846
- * Joins two paths/URLs.
847
- *
848
- * @param aRoot The root path or URL.
849
- * @param aPath The path or URL to be joined with the root.
850
- *
851
- * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
852
- * scheme-relative URL: Then the scheme of aRoot, if any, is prepended
853
- * first.
854
- * - Otherwise aPath is a path. If aRoot is a URL, then its path portion
855
- * is updated with the result and aRoot is returned. Otherwise the result
856
- * is returned.
857
- * - If aPath is absolute, the result is aPath.
858
- * - Otherwise the two paths are joined with a slash.
859
- * - Joining for example 'http://' and 'www.example.com' is also supported.
860
- */
861
- function join(aRoot, aPath) {
862
- if (aRoot === "") {
863
- aRoot = ".";
864
- }
865
- if (aPath === "") {
866
- aPath = ".";
867
- }
868
- var aPathUrl = urlParse(aPath);
869
- var aRootUrl = urlParse(aRoot);
870
- if (aRootUrl) {
871
- aRoot = aRootUrl.path || '/';
872
- }
873
-
874
- // `join(foo, '//www.example.org')`
875
- if (aPathUrl && !aPathUrl.scheme) {
876
- if (aRootUrl) {
877
- aPathUrl.scheme = aRootUrl.scheme;
878
- }
879
- return urlGenerate(aPathUrl);
880
- }
881
-
882
- if (aPathUrl || aPath.match(dataUrlRegexp)) {
883
- return aPath;
884
- }
885
-
886
- // `join('http://', 'www.example.com')`
887
- if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
888
- aRootUrl.host = aPath;
889
- return urlGenerate(aRootUrl);
890
- }
891
-
892
- var joined = aPath.charAt(0) === '/'
893
- ? aPath
894
- : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath);
895
-
896
- if (aRootUrl) {
897
- aRootUrl.path = joined;
898
- return urlGenerate(aRootUrl);
899
- }
900
- return joined;
901
- }
902
- exports.join = join;
903
-
904
- exports.isAbsolute = function (aPath) {
905
- return aPath.charAt(0) === '/' || urlRegexp.test(aPath);
906
- };
907
-
908
- /**
909
- * Make a path relative to a URL or another path.
910
- *
911
- * @param aRoot The root path or URL.
912
- * @param aPath The path or URL to be made relative to aRoot.
913
- */
914
- function relative(aRoot, aPath) {
915
- if (aRoot === "") {
916
- aRoot = ".";
917
- }
918
-
919
- aRoot = aRoot.replace(/\/$/, '');
920
-
921
- // It is possible for the path to be above the root. In this case, simply
922
- // checking whether the root is a prefix of the path won't work. Instead, we
923
- // need to remove components from the root one by one, until either we find
924
- // a prefix that fits, or we run out of components to remove.
925
- var level = 0;
926
- while (aPath.indexOf(aRoot + '/') !== 0) {
927
- var index = aRoot.lastIndexOf("/");
928
- if (index < 0) {
929
- return aPath;
930
- }
931
-
932
- // If the only part of the root that is left is the scheme (i.e. http://,
933
- // file:///, etc.), one or more slashes (/), or simply nothing at all, we
934
- // have exhausted all components, so the path is not relative to the root.
935
- aRoot = aRoot.slice(0, index);
936
- if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
937
- return aPath;
938
- }
939
-
940
- ++level;
941
- }
942
-
943
- // Make sure we add a "../" for each component we removed from the root.
944
- return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
945
- }
946
- exports.relative = relative;
947
-
948
- var supportsNullProto = (function () {
949
- var obj = Object.create(null);
950
- return !('__proto__' in obj);
951
- }());
952
-
953
- function identity (s) {
954
- return s;
955
- }
956
-
957
- /**
958
- * Because behavior goes wacky when you set `__proto__` on objects, we
959
- * have to prefix all the strings in our set with an arbitrary character.
960
- *
961
- * See https://github.com/mozilla/source-map/pull/31 and
962
- * https://github.com/mozilla/source-map/issues/30
963
- *
964
- * @param String aStr
965
- */
966
- function toSetString(aStr) {
967
- if (isProtoString(aStr)) {
968
- return '$' + aStr;
969
- }
970
-
971
- return aStr;
972
- }
973
- exports.toSetString = supportsNullProto ? identity : toSetString;
974
-
975
- function fromSetString(aStr) {
976
- if (isProtoString(aStr)) {
977
- return aStr.slice(1);
978
- }
979
-
980
- return aStr;
981
- }
982
- exports.fromSetString = supportsNullProto ? identity : fromSetString;
983
-
984
- function isProtoString(s) {
985
- if (!s) {
986
- return false;
987
- }
988
-
989
- var length = s.length;
990
-
991
- if (length < 9 /* "__proto__".length */) {
992
- return false;
993
- }
994
-
995
- if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
996
- s.charCodeAt(length - 2) !== 95 /* '_' */ ||
997
- s.charCodeAt(length - 3) !== 111 /* 'o' */ ||
998
- s.charCodeAt(length - 4) !== 116 /* 't' */ ||
999
- s.charCodeAt(length - 5) !== 111 /* 'o' */ ||
1000
- s.charCodeAt(length - 6) !== 114 /* 'r' */ ||
1001
- s.charCodeAt(length - 7) !== 112 /* 'p' */ ||
1002
- s.charCodeAt(length - 8) !== 95 /* '_' */ ||
1003
- s.charCodeAt(length - 9) !== 95 /* '_' */) {
1004
- return false;
1005
- }
1006
-
1007
- for (var i = length - 10; i >= 0; i--) {
1008
- if (s.charCodeAt(i) !== 36 /* '$' */) {
1009
- return false;
1010
- }
1011
- }
1012
-
1013
- return true;
1014
- }
1015
-
1016
- /**
1017
- * Comparator between two mappings where the original positions are compared.
1018
- *
1019
- * Optionally pass in `true` as `onlyCompareGenerated` to consider two
1020
- * mappings with the same original source/line/column, but different generated
1021
- * line and column the same. Useful when searching for a mapping with a
1022
- * stubbed out mapping.
1023
- */
1024
- function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
1025
- var cmp = strcmp(mappingA.source, mappingB.source);
1026
- if (cmp !== 0) {
1027
- return cmp;
1028
- }
1029
-
1030
- cmp = mappingA.originalLine - mappingB.originalLine;
1031
- if (cmp !== 0) {
1032
- return cmp;
1033
- }
1034
-
1035
- cmp = mappingA.originalColumn - mappingB.originalColumn;
1036
- if (cmp !== 0 || onlyCompareOriginal) {
1037
- return cmp;
1038
- }
1039
-
1040
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
1041
- if (cmp !== 0) {
1042
- return cmp;
1043
- }
1044
-
1045
- cmp = mappingA.generatedLine - mappingB.generatedLine;
1046
- if (cmp !== 0) {
1047
- return cmp;
1048
- }
1049
-
1050
- return strcmp(mappingA.name, mappingB.name);
1051
- }
1052
- exports.compareByOriginalPositions = compareByOriginalPositions;
1053
-
1054
- /**
1055
- * Comparator between two mappings with deflated source and name indices where
1056
- * the generated positions are compared.
1057
- *
1058
- * Optionally pass in `true` as `onlyCompareGenerated` to consider two
1059
- * mappings with the same generated line and column, but different
1060
- * source/name/original line and column the same. Useful when searching for a
1061
- * mapping with a stubbed out mapping.
1062
- */
1063
- function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
1064
- var cmp = mappingA.generatedLine - mappingB.generatedLine;
1065
- if (cmp !== 0) {
1066
- return cmp;
1067
- }
1068
-
1069
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
1070
- if (cmp !== 0 || onlyCompareGenerated) {
1071
- return cmp;
1072
- }
1073
-
1074
- cmp = strcmp(mappingA.source, mappingB.source);
1075
- if (cmp !== 0) {
1076
- return cmp;
1077
- }
1078
-
1079
- cmp = mappingA.originalLine - mappingB.originalLine;
1080
- if (cmp !== 0) {
1081
- return cmp;
1082
- }
1083
-
1084
- cmp = mappingA.originalColumn - mappingB.originalColumn;
1085
- if (cmp !== 0) {
1086
- return cmp;
1087
- }
1088
-
1089
- return strcmp(mappingA.name, mappingB.name);
1090
- }
1091
- exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
1092
-
1093
- function strcmp(aStr1, aStr2) {
1094
- if (aStr1 === aStr2) {
1095
- return 0;
1096
- }
1097
-
1098
- if (aStr1 === null) {
1099
- return 1; // aStr2 !== null
1100
- }
1101
-
1102
- if (aStr2 === null) {
1103
- return -1; // aStr1 !== null
1104
- }
1105
-
1106
- if (aStr1 > aStr2) {
1107
- return 1;
1108
- }
1109
-
1110
- return -1;
1111
- }
1112
-
1113
- /**
1114
- * Comparator between two mappings with inflated source and name strings where
1115
- * the generated positions are compared.
1116
- */
1117
- function compareByGeneratedPositionsInflated(mappingA, mappingB) {
1118
- var cmp = mappingA.generatedLine - mappingB.generatedLine;
1119
- if (cmp !== 0) {
1120
- return cmp;
1121
- }
1122
-
1123
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
1124
- if (cmp !== 0) {
1125
- return cmp;
1126
- }
1127
-
1128
- cmp = strcmp(mappingA.source, mappingB.source);
1129
- if (cmp !== 0) {
1130
- return cmp;
1131
- }
1132
-
1133
- cmp = mappingA.originalLine - mappingB.originalLine;
1134
- if (cmp !== 0) {
1135
- return cmp;
1136
- }
1137
-
1138
- cmp = mappingA.originalColumn - mappingB.originalColumn;
1139
- if (cmp !== 0) {
1140
- return cmp;
1141
- }
1142
-
1143
- return strcmp(mappingA.name, mappingB.name);
1144
- }
1145
- exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
1146
-
1147
- /**
1148
- * Strip any JSON XSSI avoidance prefix from the string (as documented
1149
- * in the source maps specification), and then parse the string as
1150
- * JSON.
1151
- */
1152
- function parseSourceMapInput(str) {
1153
- return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
1154
- }
1155
- exports.parseSourceMapInput = parseSourceMapInput;
1156
-
1157
- /**
1158
- * Compute the URL of a source given the the source root, the source's
1159
- * URL, and the source map's URL.
1160
- */
1161
- function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
1162
- sourceURL = sourceURL || '';
1163
-
1164
- if (sourceRoot) {
1165
- // This follows what Chrome does.
1166
- if (sourceRoot[sourceRoot.length - 1] !== '/' && sourceURL[0] !== '/') {
1167
- sourceRoot += '/';
1168
- }
1169
- // The spec says:
1170
- // Line 4: An optional source root, useful for relocating source
1171
- // files on a server or removing repeated values in the
1172
- // “sources” entry. This value is prepended to the individual
1173
- // entries in the “source” field.
1174
- sourceURL = sourceRoot + sourceURL;
1175
- }
1176
-
1177
- // Historically, SourceMapConsumer did not take the sourceMapURL as
1178
- // a parameter. This mode is still somewhat supported, which is why
1179
- // this code block is conditional. However, it's preferable to pass
1180
- // the source map URL to SourceMapConsumer, so that this function
1181
- // can implement the source URL resolution algorithm as outlined in
1182
- // the spec. This block is basically the equivalent of:
1183
- // new URL(sourceURL, sourceMapURL).toString()
1184
- // ... except it avoids using URL, which wasn't available in the
1185
- // older releases of node still supported by this library.
1186
- //
1187
- // The spec says:
1188
- // If the sources are not absolute URLs after prepending of the
1189
- // “sourceRoot”, the sources are resolved relative to the
1190
- // SourceMap (like resolving script src in a html document).
1191
- if (sourceMapURL) {
1192
- var parsed = urlParse(sourceMapURL);
1193
- if (!parsed) {
1194
- throw new Error("sourceMapURL could not be parsed");
1195
- }
1196
- if (parsed.path) {
1197
- // Strip the last path component, but keep the "/".
1198
- var index = parsed.path.lastIndexOf('/');
1199
- if (index >= 0) {
1200
- parsed.path = parsed.path.substring(0, index + 1);
1201
- }
1202
- }
1203
- sourceURL = join(urlGenerate(parsed), sourceURL);
1204
- }
1205
-
1206
- return normalize(sourceURL);
1207
- }
1208
- exports.computeSourceURL = computeSourceURL;
1209
-
1210
-
1211
- /***/ }),
1212
- /* 5 */
1213
- /***/ (function(module, exports, __webpack_require__) {
1214
-
1215
- /* -*- Mode: js; js-indent-level: 2; -*- */
1216
- /*
1217
- * Copyright 2011 Mozilla Foundation and contributors
1218
- * Licensed under the New BSD license. See LICENSE or:
1219
- * http://opensource.org/licenses/BSD-3-Clause
1220
- */
1221
-
1222
- var util = __webpack_require__(4);
1223
- var has = Object.prototype.hasOwnProperty;
1224
- var hasNativeMap = typeof Map !== "undefined";
1225
-
1226
- /**
1227
- * A data structure which is a combination of an array and a set. Adding a new
1228
- * member is O(1), testing for membership is O(1), and finding the index of an
1229
- * element is O(1). Removing elements from the set is not supported. Only
1230
- * strings are supported for membership.
1231
- */
1232
- function ArraySet() {
1233
- this._array = [];
1234
- this._set = hasNativeMap ? new Map() : Object.create(null);
1235
- }
1236
-
1237
- /**
1238
- * Static method for creating ArraySet instances from an existing array.
1239
- */
1240
- ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
1241
- var set = new ArraySet();
1242
- for (var i = 0, len = aArray.length; i < len; i++) {
1243
- set.add(aArray[i], aAllowDuplicates);
1244
- }
1245
- return set;
1246
- };
1247
-
1248
- /**
1249
- * Return how many unique items are in this ArraySet. If duplicates have been
1250
- * added, than those do not count towards the size.
1251
- *
1252
- * @returns Number
1253
- */
1254
- ArraySet.prototype.size = function ArraySet_size() {
1255
- return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
1256
- };
1257
-
1258
- /**
1259
- * Add the given string to this set.
1260
- *
1261
- * @param String aStr
1262
- */
1263
- ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
1264
- var sStr = hasNativeMap ? aStr : util.toSetString(aStr);
1265
- var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
1266
- var idx = this._array.length;
1267
- if (!isDuplicate || aAllowDuplicates) {
1268
- this._array.push(aStr);
1269
- }
1270
- if (!isDuplicate) {
1271
- if (hasNativeMap) {
1272
- this._set.set(aStr, idx);
1273
- } else {
1274
- this._set[sStr] = idx;
1275
- }
1276
- }
1277
- };
1278
-
1279
- /**
1280
- * Is the given string a member of this set?
1281
- *
1282
- * @param String aStr
1283
- */
1284
- ArraySet.prototype.has = function ArraySet_has(aStr) {
1285
- if (hasNativeMap) {
1286
- return this._set.has(aStr);
1287
- } else {
1288
- var sStr = util.toSetString(aStr);
1289
- return has.call(this._set, sStr);
1290
- }
1291
- };
1292
-
1293
- /**
1294
- * What is the index of the given string in the array?
1295
- *
1296
- * @param String aStr
1297
- */
1298
- ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
1299
- if (hasNativeMap) {
1300
- var idx = this._set.get(aStr);
1301
- if (idx >= 0) {
1302
- return idx;
1303
- }
1304
- } else {
1305
- var sStr = util.toSetString(aStr);
1306
- if (has.call(this._set, sStr)) {
1307
- return this._set[sStr];
1308
- }
1309
- }
1310
-
1311
- throw new Error('"' + aStr + '" is not in the set.');
1312
- };
1313
-
1314
- /**
1315
- * What is the element at the given index?
1316
- *
1317
- * @param Number aIdx
1318
- */
1319
- ArraySet.prototype.at = function ArraySet_at(aIdx) {
1320
- if (aIdx >= 0 && aIdx < this._array.length) {
1321
- return this._array[aIdx];
1322
- }
1323
- throw new Error('No element indexed by ' + aIdx);
1324
- };
1325
-
1326
- /**
1327
- * Returns the array representation of this set (which has the proper indices
1328
- * indicated by indexOf). Note that this is a copy of the internal array used
1329
- * for storing the members so that no one can mess with internal state.
1330
- */
1331
- ArraySet.prototype.toArray = function ArraySet_toArray() {
1332
- return this._array.slice();
1333
- };
1334
-
1335
- exports.ArraySet = ArraySet;
1336
-
1337
-
1338
- /***/ }),
1339
- /* 6 */
1340
- /***/ (function(module, exports, __webpack_require__) {
1341
-
1342
- /* -*- Mode: js; js-indent-level: 2; -*- */
1343
- /*
1344
- * Copyright 2014 Mozilla Foundation and contributors
1345
- * Licensed under the New BSD license. See LICENSE or:
1346
- * http://opensource.org/licenses/BSD-3-Clause
1347
- */
1348
-
1349
- var util = __webpack_require__(4);
1350
-
1351
- /**
1352
- * Determine whether mappingB is after mappingA with respect to generated
1353
- * position.
1354
- */
1355
- function generatedPositionAfter(mappingA, mappingB) {
1356
- // Optimized for most common case
1357
- var lineA = mappingA.generatedLine;
1358
- var lineB = mappingB.generatedLine;
1359
- var columnA = mappingA.generatedColumn;
1360
- var columnB = mappingB.generatedColumn;
1361
- return lineB > lineA || lineB == lineA && columnB >= columnA ||
1362
- util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
1363
- }
1364
-
1365
- /**
1366
- * A data structure to provide a sorted view of accumulated mappings in a
1367
- * performance conscious manner. It trades a neglibable overhead in general
1368
- * case for a large speedup in case of mappings being added in order.
1369
- */
1370
- function MappingList() {
1371
- this._array = [];
1372
- this._sorted = true;
1373
- // Serves as infimum
1374
- this._last = {generatedLine: -1, generatedColumn: 0};
1375
- }
1376
-
1377
- /**
1378
- * Iterate through internal items. This method takes the same arguments that
1379
- * `Array.prototype.forEach` takes.
1380
- *
1381
- * NOTE: The order of the mappings is NOT guaranteed.
1382
- */
1383
- MappingList.prototype.unsortedForEach =
1384
- function MappingList_forEach(aCallback, aThisArg) {
1385
- this._array.forEach(aCallback, aThisArg);
1386
- };
1387
-
1388
- /**
1389
- * Add the given source mapping.
1390
- *
1391
- * @param Object aMapping
1392
- */
1393
- MappingList.prototype.add = function MappingList_add(aMapping) {
1394
- if (generatedPositionAfter(this._last, aMapping)) {
1395
- this._last = aMapping;
1396
- this._array.push(aMapping);
1397
- } else {
1398
- this._sorted = false;
1399
- this._array.push(aMapping);
1400
- }
1401
- };
1402
-
1403
- /**
1404
- * Returns the flat, sorted array of mappings. The mappings are sorted by
1405
- * generated position.
1406
- *
1407
- * WARNING: This method returns internal data without copying, for
1408
- * performance. The return value must NOT be mutated, and should be treated as
1409
- * an immutable borrow. If you want to take ownership, you must make your own
1410
- * copy.
1411
- */
1412
- MappingList.prototype.toArray = function MappingList_toArray() {
1413
- if (!this._sorted) {
1414
- this._array.sort(util.compareByGeneratedPositionsInflated);
1415
- this._sorted = true;
1416
- }
1417
- return this._array;
1418
- };
1419
-
1420
- exports.MappingList = MappingList;
1421
-
1422
-
1423
- /***/ }),
1424
- /* 7 */
1425
- /***/ (function(module, exports, __webpack_require__) {
1426
-
1427
- /* -*- Mode: js; js-indent-level: 2; -*- */
1428
- /*
1429
- * Copyright 2011 Mozilla Foundation and contributors
1430
- * Licensed under the New BSD license. See LICENSE or:
1431
- * http://opensource.org/licenses/BSD-3-Clause
1432
- */
1433
-
1434
- var util = __webpack_require__(4);
1435
- var binarySearch = __webpack_require__(8);
1436
- var ArraySet = __webpack_require__(5).ArraySet;
1437
- var base64VLQ = __webpack_require__(2);
1438
- var quickSort = __webpack_require__(9).quickSort;
1439
-
1440
- function SourceMapConsumer(aSourceMap, aSourceMapURL) {
1441
- var sourceMap = aSourceMap;
1442
- if (typeof aSourceMap === 'string') {
1443
- sourceMap = util.parseSourceMapInput(aSourceMap);
1444
- }
1445
-
1446
- return sourceMap.sections != null
1447
- ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
1448
- : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
1449
- }
1450
-
1451
- SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
1452
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
1453
- }
1454
-
1455
- /**
1456
- * The version of the source mapping spec that we are consuming.
1457
- */
1458
- SourceMapConsumer.prototype._version = 3;
1459
-
1460
- // `__generatedMappings` and `__originalMappings` are arrays that hold the
1461
- // parsed mapping coordinates from the source map's "mappings" attribute. They
1462
- // are lazily instantiated, accessed via the `_generatedMappings` and
1463
- // `_originalMappings` getters respectively, and we only parse the mappings
1464
- // and create these arrays once queried for a source location. We jump through
1465
- // these hoops because there can be many thousands of mappings, and parsing
1466
- // them is expensive, so we only want to do it if we must.
1467
- //
1468
- // Each object in the arrays is of the form:
1469
- //
1470
- // {
1471
- // generatedLine: The line number in the generated code,
1472
- // generatedColumn: The column number in the generated code,
1473
- // source: The path to the original source file that generated this
1474
- // chunk of code,
1475
- // originalLine: The line number in the original source that
1476
- // corresponds to this chunk of generated code,
1477
- // originalColumn: The column number in the original source that
1478
- // corresponds to this chunk of generated code,
1479
- // name: The name of the original symbol which generated this chunk of
1480
- // code.
1481
- // }
1482
- //
1483
- // All properties except for `generatedLine` and `generatedColumn` can be
1484
- // `null`.
1485
- //
1486
- // `_generatedMappings` is ordered by the generated positions.
1487
- //
1488
- // `_originalMappings` is ordered by the original positions.
1489
-
1490
- SourceMapConsumer.prototype.__generatedMappings = null;
1491
- Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
1492
- configurable: true,
1493
- enumerable: true,
1494
- get: function () {
1495
- if (!this.__generatedMappings) {
1496
- this._parseMappings(this._mappings, this.sourceRoot);
1497
- }
1498
-
1499
- return this.__generatedMappings;
1500
- }
1501
- });
1502
-
1503
- SourceMapConsumer.prototype.__originalMappings = null;
1504
- Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
1505
- configurable: true,
1506
- enumerable: true,
1507
- get: function () {
1508
- if (!this.__originalMappings) {
1509
- this._parseMappings(this._mappings, this.sourceRoot);
1510
- }
1511
-
1512
- return this.__originalMappings;
1513
- }
1514
- });
1515
-
1516
- SourceMapConsumer.prototype._charIsMappingSeparator =
1517
- function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
1518
- var c = aStr.charAt(index);
1519
- return c === ";" || c === ",";
1520
- };
1521
-
1522
- /**
1523
- * Parse the mappings in a string in to a data structure which we can easily
1524
- * query (the ordered arrays in the `this.__generatedMappings` and
1525
- * `this.__originalMappings` properties).
1526
- */
1527
- SourceMapConsumer.prototype._parseMappings =
1528
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1529
- throw new Error("Subclasses must implement _parseMappings");
1530
- };
1531
-
1532
- SourceMapConsumer.GENERATED_ORDER = 1;
1533
- SourceMapConsumer.ORIGINAL_ORDER = 2;
1534
-
1535
- SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
1536
- SourceMapConsumer.LEAST_UPPER_BOUND = 2;
1537
-
1538
- /**
1539
- * Iterate over each mapping between an original source/line/column and a
1540
- * generated line/column in this source map.
1541
- *
1542
- * @param Function aCallback
1543
- * The function that is called with each mapping.
1544
- * @param Object aContext
1545
- * Optional. If specified, this object will be the value of `this` every
1546
- * time that `aCallback` is called.
1547
- * @param aOrder
1548
- * Either `SourceMapConsumer.GENERATED_ORDER` or
1549
- * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
1550
- * iterate over the mappings sorted by the generated file's line/column
1551
- * order or the original's source/line/column order, respectively. Defaults to
1552
- * `SourceMapConsumer.GENERATED_ORDER`.
1553
- */
1554
- SourceMapConsumer.prototype.eachMapping =
1555
- function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
1556
- var context = aContext || null;
1557
- var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
1558
-
1559
- var mappings;
1560
- switch (order) {
1561
- case SourceMapConsumer.GENERATED_ORDER:
1562
- mappings = this._generatedMappings;
1563
- break;
1564
- case SourceMapConsumer.ORIGINAL_ORDER:
1565
- mappings = this._originalMappings;
1566
- break;
1567
- default:
1568
- throw new Error("Unknown order of iteration.");
1569
- }
1570
-
1571
- var sourceRoot = this.sourceRoot;
1572
- mappings.map(function (mapping) {
1573
- var source = mapping.source === null ? null : this._sources.at(mapping.source);
1574
- source = util.computeSourceURL(sourceRoot, source, this._sourceMapURL);
1575
- return {
1576
- source: source,
1577
- generatedLine: mapping.generatedLine,
1578
- generatedColumn: mapping.generatedColumn,
1579
- originalLine: mapping.originalLine,
1580
- originalColumn: mapping.originalColumn,
1581
- name: mapping.name === null ? null : this._names.at(mapping.name)
1582
- };
1583
- }, this).forEach(aCallback, context);
1584
- };
1585
-
1586
- /**
1587
- * Returns all generated line and column information for the original source,
1588
- * line, and column provided. If no column is provided, returns all mappings
1589
- * corresponding to a either the line we are searching for or the next
1590
- * closest line that has any mappings. Otherwise, returns all mappings
1591
- * corresponding to the given line and either the column we are searching for
1592
- * or the next closest column that has any offsets.
1593
- *
1594
- * The only argument is an object with the following properties:
1595
- *
1596
- * - source: The filename of the original source.
1597
- * - line: The line number in the original source. The line number is 1-based.
1598
- * - column: Optional. the column number in the original source.
1599
- * The column number is 0-based.
1600
- *
1601
- * and an array of objects is returned, each with the following properties:
1602
- *
1603
- * - line: The line number in the generated source, or null. The
1604
- * line number is 1-based.
1605
- * - column: The column number in the generated source, or null.
1606
- * The column number is 0-based.
1607
- */
1608
- SourceMapConsumer.prototype.allGeneratedPositionsFor =
1609
- function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
1610
- var line = util.getArg(aArgs, 'line');
1611
-
1612
- // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
1613
- // returns the index of the closest mapping less than the needle. By
1614
- // setting needle.originalColumn to 0, we thus find the last mapping for
1615
- // the given line, provided such a mapping exists.
1616
- var needle = {
1617
- source: util.getArg(aArgs, 'source'),
1618
- originalLine: line,
1619
- originalColumn: util.getArg(aArgs, 'column', 0)
1620
- };
1621
-
1622
- needle.source = this._findSourceIndex(needle.source);
1623
- if (needle.source < 0) {
1624
- return [];
1625
- }
1626
-
1627
- var mappings = [];
1628
-
1629
- var index = this._findMapping(needle,
1630
- this._originalMappings,
1631
- "originalLine",
1632
- "originalColumn",
1633
- util.compareByOriginalPositions,
1634
- binarySearch.LEAST_UPPER_BOUND);
1635
- if (index >= 0) {
1636
- var mapping = this._originalMappings[index];
1637
-
1638
- if (aArgs.column === undefined) {
1639
- var originalLine = mapping.originalLine;
1640
-
1641
- // Iterate until either we run out of mappings, or we run into
1642
- // a mapping for a different line than the one we found. Since
1643
- // mappings are sorted, this is guaranteed to find all mappings for
1644
- // the line we found.
1645
- while (mapping && mapping.originalLine === originalLine) {
1646
- mappings.push({
1647
- line: util.getArg(mapping, 'generatedLine', null),
1648
- column: util.getArg(mapping, 'generatedColumn', null),
1649
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
1650
- });
1651
-
1652
- mapping = this._originalMappings[++index];
1653
- }
1654
- } else {
1655
- var originalColumn = mapping.originalColumn;
1656
-
1657
- // Iterate until either we run out of mappings, or we run into
1658
- // a mapping for a different line than the one we were searching for.
1659
- // Since mappings are sorted, this is guaranteed to find all mappings for
1660
- // the line we are searching for.
1661
- while (mapping &&
1662
- mapping.originalLine === line &&
1663
- mapping.originalColumn == originalColumn) {
1664
- mappings.push({
1665
- line: util.getArg(mapping, 'generatedLine', null),
1666
- column: util.getArg(mapping, 'generatedColumn', null),
1667
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
1668
- });
1669
-
1670
- mapping = this._originalMappings[++index];
1671
- }
1672
- }
1673
- }
1674
-
1675
- return mappings;
1676
- };
1677
-
1678
- exports.SourceMapConsumer = SourceMapConsumer;
1679
-
1680
- /**
1681
- * A BasicSourceMapConsumer instance represents a parsed source map which we can
1682
- * query for information about the original file positions by giving it a file
1683
- * position in the generated source.
1684
- *
1685
- * The first parameter is the raw source map (either as a JSON string, or
1686
- * already parsed to an object). According to the spec, source maps have the
1687
- * following attributes:
1688
- *
1689
- * - version: Which version of the source map spec this map is following.
1690
- * - sources: An array of URLs to the original source files.
1691
- * - names: An array of identifiers which can be referrenced by individual mappings.
1692
- * - sourceRoot: Optional. The URL root from which all sources are relative.
1693
- * - sourcesContent: Optional. An array of contents of the original source files.
1694
- * - mappings: A string of base64 VLQs which contain the actual mappings.
1695
- * - file: Optional. The generated file this source map is associated with.
1696
- *
1697
- * Here is an example source map, taken from the source map spec[0]:
1698
- *
1699
- * {
1700
- * version : 3,
1701
- * file: "out.js",
1702
- * sourceRoot : "",
1703
- * sources: ["foo.js", "bar.js"],
1704
- * names: ["src", "maps", "are", "fun"],
1705
- * mappings: "AA,AB;;ABCDE;"
1706
- * }
1707
- *
1708
- * The second parameter, if given, is a string whose value is the URL
1709
- * at which the source map was found. This URL is used to compute the
1710
- * sources array.
1711
- *
1712
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
1713
- */
1714
- function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
1715
- var sourceMap = aSourceMap;
1716
- if (typeof aSourceMap === 'string') {
1717
- sourceMap = util.parseSourceMapInput(aSourceMap);
1718
- }
1719
-
1720
- var version = util.getArg(sourceMap, 'version');
1721
- var sources = util.getArg(sourceMap, 'sources');
1722
- // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
1723
- // requires the array) to play nice here.
1724
- var names = util.getArg(sourceMap, 'names', []);
1725
- var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);
1726
- var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);
1727
- var mappings = util.getArg(sourceMap, 'mappings');
1728
- var file = util.getArg(sourceMap, 'file', null);
1729
-
1730
- // Once again, Sass deviates from the spec and supplies the version as a
1731
- // string rather than a number, so we use loose equality checking here.
1732
- if (version != this._version) {
1733
- throw new Error('Unsupported version: ' + version);
1734
- }
1735
-
1736
- if (sourceRoot) {
1737
- sourceRoot = util.normalize(sourceRoot);
1738
- }
1739
-
1740
- sources = sources
1741
- .map(String)
1742
- // Some source maps produce relative source paths like "./foo.js" instead of
1743
- // "foo.js". Normalize these first so that future comparisons will succeed.
1744
- // See bugzil.la/1090768.
1745
- .map(util.normalize)
1746
- // Always ensure that absolute sources are internally stored relative to
1747
- // the source root, if the source root is absolute. Not doing this would
1748
- // be particularly problematic when the source root is a prefix of the
1749
- // source (valid, but why??). See github issue #199 and bugzil.la/1188982.
1750
- .map(function (source) {
1751
- return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
1752
- ? util.relative(sourceRoot, source)
1753
- : source;
1754
- });
1755
-
1756
- // Pass `true` below to allow duplicate names and sources. While source maps
1757
- // are intended to be compressed and deduplicated, the TypeScript compiler
1758
- // sometimes generates source maps with duplicates in them. See Github issue
1759
- // #72 and bugzil.la/889492.
1760
- this._names = ArraySet.fromArray(names.map(String), true);
1761
- this._sources = ArraySet.fromArray(sources, true);
1762
-
1763
- this._absoluteSources = this._sources.toArray().map(function (s) {
1764
- return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
1765
- });
1766
-
1767
- this.sourceRoot = sourceRoot;
1768
- this.sourcesContent = sourcesContent;
1769
- this._mappings = mappings;
1770
- this._sourceMapURL = aSourceMapURL;
1771
- this.file = file;
1772
- }
1773
-
1774
- BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
1775
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
1776
-
1777
- /**
1778
- * Utility function to find the index of a source. Returns -1 if not
1779
- * found.
1780
- */
1781
- BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
1782
- var relativeSource = aSource;
1783
- if (this.sourceRoot != null) {
1784
- relativeSource = util.relative(this.sourceRoot, relativeSource);
1785
- }
1786
-
1787
- if (this._sources.has(relativeSource)) {
1788
- return this._sources.indexOf(relativeSource);
1789
- }
1790
-
1791
- // Maybe aSource is an absolute URL as returned by |sources|. In
1792
- // this case we can't simply undo the transform.
1793
- var i;
1794
- for (i = 0; i < this._absoluteSources.length; ++i) {
1795
- if (this._absoluteSources[i] == aSource) {
1796
- return i;
1797
- }
1798
- }
1799
-
1800
- return -1;
1801
- };
1802
-
1803
- /**
1804
- * Create a BasicSourceMapConsumer from a SourceMapGenerator.
1805
- *
1806
- * @param SourceMapGenerator aSourceMap
1807
- * The source map that will be consumed.
1808
- * @param String aSourceMapURL
1809
- * The URL at which the source map can be found (optional)
1810
- * @returns BasicSourceMapConsumer
1811
- */
1812
- BasicSourceMapConsumer.fromSourceMap =
1813
- function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
1814
- var smc = Object.create(BasicSourceMapConsumer.prototype);
1815
-
1816
- var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
1817
- var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
1818
- smc.sourceRoot = aSourceMap._sourceRoot;
1819
- smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),
1820
- smc.sourceRoot);
1821
- smc.file = aSourceMap._file;
1822
- smc._sourceMapURL = aSourceMapURL;
1823
- smc._absoluteSources = smc._sources.toArray().map(function (s) {
1824
- return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
1825
- });
1826
-
1827
- // Because we are modifying the entries (by converting string sources and
1828
- // names to indices into the sources and names ArraySets), we have to make
1829
- // a copy of the entry or else bad things happen. Shared mutable state
1830
- // strikes again! See github issue #191.
1831
-
1832
- var generatedMappings = aSourceMap._mappings.toArray().slice();
1833
- var destGeneratedMappings = smc.__generatedMappings = [];
1834
- var destOriginalMappings = smc.__originalMappings = [];
1835
-
1836
- for (var i = 0, length = generatedMappings.length; i < length; i++) {
1837
- var srcMapping = generatedMappings[i];
1838
- var destMapping = new Mapping;
1839
- destMapping.generatedLine = srcMapping.generatedLine;
1840
- destMapping.generatedColumn = srcMapping.generatedColumn;
1841
-
1842
- if (srcMapping.source) {
1843
- destMapping.source = sources.indexOf(srcMapping.source);
1844
- destMapping.originalLine = srcMapping.originalLine;
1845
- destMapping.originalColumn = srcMapping.originalColumn;
1846
-
1847
- if (srcMapping.name) {
1848
- destMapping.name = names.indexOf(srcMapping.name);
1849
- }
1850
-
1851
- destOriginalMappings.push(destMapping);
1852
- }
1853
-
1854
- destGeneratedMappings.push(destMapping);
1855
- }
1856
-
1857
- quickSort(smc.__originalMappings, util.compareByOriginalPositions);
1858
-
1859
- return smc;
1860
- };
1861
-
1862
- /**
1863
- * The version of the source mapping spec that we are consuming.
1864
- */
1865
- BasicSourceMapConsumer.prototype._version = 3;
1866
-
1867
- /**
1868
- * The list of original sources.
1869
- */
1870
- Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {
1871
- get: function () {
1872
- return this._absoluteSources.slice();
1873
- }
1874
- });
1875
-
1876
- /**
1877
- * Provide the JIT with a nice shape / hidden class.
1878
- */
1879
- function Mapping() {
1880
- this.generatedLine = 0;
1881
- this.generatedColumn = 0;
1882
- this.source = null;
1883
- this.originalLine = null;
1884
- this.originalColumn = null;
1885
- this.name = null;
1886
- }
1887
-
1888
- /**
1889
- * Parse the mappings in a string in to a data structure which we can easily
1890
- * query (the ordered arrays in the `this.__generatedMappings` and
1891
- * `this.__originalMappings` properties).
1892
- */
1893
- BasicSourceMapConsumer.prototype._parseMappings =
1894
- function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
1895
- var generatedLine = 1;
1896
- var previousGeneratedColumn = 0;
1897
- var previousOriginalLine = 0;
1898
- var previousOriginalColumn = 0;
1899
- var previousSource = 0;
1900
- var previousName = 0;
1901
- var length = aStr.length;
1902
- var index = 0;
1903
- var cachedSegments = {};
1904
- var temp = {};
1905
- var originalMappings = [];
1906
- var generatedMappings = [];
1907
- var mapping, str, segment, end, value;
1908
-
1909
- while (index < length) {
1910
- if (aStr.charAt(index) === ';') {
1911
- generatedLine++;
1912
- index++;
1913
- previousGeneratedColumn = 0;
1914
- }
1915
- else if (aStr.charAt(index) === ',') {
1916
- index++;
1917
- }
1918
- else {
1919
- mapping = new Mapping();
1920
- mapping.generatedLine = generatedLine;
1921
-
1922
- // Because each offset is encoded relative to the previous one,
1923
- // many segments often have the same encoding. We can exploit this
1924
- // fact by caching the parsed variable length fields of each segment,
1925
- // allowing us to avoid a second parse if we encounter the same
1926
- // segment again.
1927
- for (end = index; end < length; end++) {
1928
- if (this._charIsMappingSeparator(aStr, end)) {
1929
- break;
1930
- }
1931
- }
1932
- str = aStr.slice(index, end);
1933
-
1934
- segment = cachedSegments[str];
1935
- if (segment) {
1936
- index += str.length;
1937
- } else {
1938
- segment = [];
1939
- while (index < end) {
1940
- base64VLQ.decode(aStr, index, temp);
1941
- value = temp.value;
1942
- index = temp.rest;
1943
- segment.push(value);
1944
- }
1945
-
1946
- if (segment.length === 2) {
1947
- throw new Error('Found a source, but no line and column');
1948
- }
1949
-
1950
- if (segment.length === 3) {
1951
- throw new Error('Found a source and line, but no column');
1952
- }
1953
-
1954
- cachedSegments[str] = segment;
1955
- }
1956
-
1957
- // Generated column.
1958
- mapping.generatedColumn = previousGeneratedColumn + segment[0];
1959
- previousGeneratedColumn = mapping.generatedColumn;
1960
-
1961
- if (segment.length > 1) {
1962
- // Original source.
1963
- mapping.source = previousSource + segment[1];
1964
- previousSource += segment[1];
1965
-
1966
- // Original line.
1967
- mapping.originalLine = previousOriginalLine + segment[2];
1968
- previousOriginalLine = mapping.originalLine;
1969
- // Lines are stored 0-based
1970
- mapping.originalLine += 1;
1971
-
1972
- // Original column.
1973
- mapping.originalColumn = previousOriginalColumn + segment[3];
1974
- previousOriginalColumn = mapping.originalColumn;
1975
-
1976
- if (segment.length > 4) {
1977
- // Original name.
1978
- mapping.name = previousName + segment[4];
1979
- previousName += segment[4];
1980
- }
1981
- }
1982
-
1983
- generatedMappings.push(mapping);
1984
- if (typeof mapping.originalLine === 'number') {
1985
- originalMappings.push(mapping);
1986
- }
1987
- }
1988
- }
1989
-
1990
- quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);
1991
- this.__generatedMappings = generatedMappings;
1992
-
1993
- quickSort(originalMappings, util.compareByOriginalPositions);
1994
- this.__originalMappings = originalMappings;
1995
- };
1996
-
1997
- /**
1998
- * Find the mapping that best matches the hypothetical "needle" mapping that
1999
- * we are searching for in the given "haystack" of mappings.
2000
- */
2001
- BasicSourceMapConsumer.prototype._findMapping =
2002
- function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
2003
- aColumnName, aComparator, aBias) {
2004
- // To return the position we are searching for, we must first find the
2005
- // mapping for the given position and then return the opposite position it
2006
- // points to. Because the mappings are sorted, we can use binary search to
2007
- // find the best mapping.
2008
-
2009
- if (aNeedle[aLineName] <= 0) {
2010
- throw new TypeError('Line must be greater than or equal to 1, got '
2011
- + aNeedle[aLineName]);
2012
- }
2013
- if (aNeedle[aColumnName] < 0) {
2014
- throw new TypeError('Column must be greater than or equal to 0, got '
2015
- + aNeedle[aColumnName]);
2016
- }
2017
-
2018
- return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
2019
- };
2020
-
2021
- /**
2022
- * Compute the last column for each generated mapping. The last column is
2023
- * inclusive.
2024
- */
2025
- BasicSourceMapConsumer.prototype.computeColumnSpans =
2026
- function SourceMapConsumer_computeColumnSpans() {
2027
- for (var index = 0; index < this._generatedMappings.length; ++index) {
2028
- var mapping = this._generatedMappings[index];
2029
-
2030
- // Mappings do not contain a field for the last generated columnt. We
2031
- // can come up with an optimistic estimate, however, by assuming that
2032
- // mappings are contiguous (i.e. given two consecutive mappings, the
2033
- // first mapping ends where the second one starts).
2034
- if (index + 1 < this._generatedMappings.length) {
2035
- var nextMapping = this._generatedMappings[index + 1];
2036
-
2037
- if (mapping.generatedLine === nextMapping.generatedLine) {
2038
- mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
2039
- continue;
2040
- }
2041
- }
2042
-
2043
- // The last mapping for each line spans the entire line.
2044
- mapping.lastGeneratedColumn = Infinity;
2045
- }
2046
- };
2047
-
2048
- /**
2049
- * Returns the original source, line, and column information for the generated
2050
- * source's line and column positions provided. The only argument is an object
2051
- * with the following properties:
2052
- *
2053
- * - line: The line number in the generated source. The line number
2054
- * is 1-based.
2055
- * - column: The column number in the generated source. The column
2056
- * number is 0-based.
2057
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
2058
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
2059
- * closest element that is smaller than or greater than the one we are
2060
- * searching for, respectively, if the exact element cannot be found.
2061
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
2062
- *
2063
- * and an object is returned with the following properties:
2064
- *
2065
- * - source: The original source file, or null.
2066
- * - line: The line number in the original source, or null. The
2067
- * line number is 1-based.
2068
- * - column: The column number in the original source, or null. The
2069
- * column number is 0-based.
2070
- * - name: The original identifier, or null.
2071
- */
2072
- BasicSourceMapConsumer.prototype.originalPositionFor =
2073
- function SourceMapConsumer_originalPositionFor(aArgs) {
2074
- var needle = {
2075
- generatedLine: util.getArg(aArgs, 'line'),
2076
- generatedColumn: util.getArg(aArgs, 'column')
2077
- };
2078
-
2079
- var index = this._findMapping(
2080
- needle,
2081
- this._generatedMappings,
2082
- "generatedLine",
2083
- "generatedColumn",
2084
- util.compareByGeneratedPositionsDeflated,
2085
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
2086
- );
2087
-
2088
- if (index >= 0) {
2089
- var mapping = this._generatedMappings[index];
2090
-
2091
- if (mapping.generatedLine === needle.generatedLine) {
2092
- var source = util.getArg(mapping, 'source', null);
2093
- if (source !== null) {
2094
- source = this._sources.at(source);
2095
- source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
2096
- }
2097
- var name = util.getArg(mapping, 'name', null);
2098
- if (name !== null) {
2099
- name = this._names.at(name);
2100
- }
2101
- return {
2102
- source: source,
2103
- line: util.getArg(mapping, 'originalLine', null),
2104
- column: util.getArg(mapping, 'originalColumn', null),
2105
- name: name
2106
- };
2107
- }
2108
- }
2109
-
2110
- return {
2111
- source: null,
2112
- line: null,
2113
- column: null,
2114
- name: null
2115
- };
2116
- };
2117
-
2118
- /**
2119
- * Return true if we have the source content for every source in the source
2120
- * map, false otherwise.
2121
- */
2122
- BasicSourceMapConsumer.prototype.hasContentsOfAllSources =
2123
- function BasicSourceMapConsumer_hasContentsOfAllSources() {
2124
- if (!this.sourcesContent) {
2125
- return false;
2126
- }
2127
- return this.sourcesContent.length >= this._sources.size() &&
2128
- !this.sourcesContent.some(function (sc) { return sc == null; });
2129
- };
2130
-
2131
- /**
2132
- * Returns the original source content. The only argument is the url of the
2133
- * original source file. Returns null if no original source content is
2134
- * available.
2135
- */
2136
- BasicSourceMapConsumer.prototype.sourceContentFor =
2137
- function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
2138
- if (!this.sourcesContent) {
2139
- return null;
2140
- }
2141
-
2142
- var index = this._findSourceIndex(aSource);
2143
- if (index >= 0) {
2144
- return this.sourcesContent[index];
2145
- }
2146
-
2147
- var relativeSource = aSource;
2148
- if (this.sourceRoot != null) {
2149
- relativeSource = util.relative(this.sourceRoot, relativeSource);
2150
- }
2151
-
2152
- var url;
2153
- if (this.sourceRoot != null
2154
- && (url = util.urlParse(this.sourceRoot))) {
2155
- // XXX: file:// URIs and absolute paths lead to unexpected behavior for
2156
- // many users. We can help them out when they expect file:// URIs to
2157
- // behave like it would if they were running a local HTTP server. See
2158
- // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
2159
- var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
2160
- if (url.scheme == "file"
2161
- && this._sources.has(fileUriAbsPath)) {
2162
- return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]
2163
- }
2164
-
2165
- if ((!url.path || url.path == "/")
2166
- && this._sources.has("/" + relativeSource)) {
2167
- return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
2168
- }
2169
- }
2170
-
2171
- // This function is used recursively from
2172
- // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
2173
- // don't want to throw if we can't find the source - we just want to
2174
- // return null, so we provide a flag to exit gracefully.
2175
- if (nullOnMissing) {
2176
- return null;
2177
- }
2178
- else {
2179
- throw new Error('"' + relativeSource + '" is not in the SourceMap.');
2180
- }
2181
- };
2182
-
2183
- /**
2184
- * Returns the generated line and column information for the original source,
2185
- * line, and column positions provided. The only argument is an object with
2186
- * the following properties:
2187
- *
2188
- * - source: The filename of the original source.
2189
- * - line: The line number in the original source. The line number
2190
- * is 1-based.
2191
- * - column: The column number in the original source. The column
2192
- * number is 0-based.
2193
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
2194
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
2195
- * closest element that is smaller than or greater than the one we are
2196
- * searching for, respectively, if the exact element cannot be found.
2197
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
2198
- *
2199
- * and an object is returned with the following properties:
2200
- *
2201
- * - line: The line number in the generated source, or null. The
2202
- * line number is 1-based.
2203
- * - column: The column number in the generated source, or null.
2204
- * The column number is 0-based.
2205
- */
2206
- BasicSourceMapConsumer.prototype.generatedPositionFor =
2207
- function SourceMapConsumer_generatedPositionFor(aArgs) {
2208
- var source = util.getArg(aArgs, 'source');
2209
- source = this._findSourceIndex(source);
2210
- if (source < 0) {
2211
- return {
2212
- line: null,
2213
- column: null,
2214
- lastColumn: null
2215
- };
2216
- }
2217
-
2218
- var needle = {
2219
- source: source,
2220
- originalLine: util.getArg(aArgs, 'line'),
2221
- originalColumn: util.getArg(aArgs, 'column')
2222
- };
2223
-
2224
- var index = this._findMapping(
2225
- needle,
2226
- this._originalMappings,
2227
- "originalLine",
2228
- "originalColumn",
2229
- util.compareByOriginalPositions,
2230
- util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
2231
- );
2232
-
2233
- if (index >= 0) {
2234
- var mapping = this._originalMappings[index];
2235
-
2236
- if (mapping.source === needle.source) {
2237
- return {
2238
- line: util.getArg(mapping, 'generatedLine', null),
2239
- column: util.getArg(mapping, 'generatedColumn', null),
2240
- lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
2241
- };
2242
- }
2243
- }
2244
-
2245
- return {
2246
- line: null,
2247
- column: null,
2248
- lastColumn: null
2249
- };
2250
- };
2251
-
2252
- exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
2253
-
2254
- /**
2255
- * An IndexedSourceMapConsumer instance represents a parsed source map which
2256
- * we can query for information. It differs from BasicSourceMapConsumer in
2257
- * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
2258
- * input.
2259
- *
2260
- * The first parameter is a raw source map (either as a JSON string, or already
2261
- * parsed to an object). According to the spec for indexed source maps, they
2262
- * have the following attributes:
2263
- *
2264
- * - version: Which version of the source map spec this map is following.
2265
- * - file: Optional. The generated file this source map is associated with.
2266
- * - sections: A list of section definitions.
2267
- *
2268
- * Each value under the "sections" field has two fields:
2269
- * - offset: The offset into the original specified at which this section
2270
- * begins to apply, defined as an object with a "line" and "column"
2271
- * field.
2272
- * - map: A source map definition. This source map could also be indexed,
2273
- * but doesn't have to be.
2274
- *
2275
- * Instead of the "map" field, it's also possible to have a "url" field
2276
- * specifying a URL to retrieve a source map from, but that's currently
2277
- * unsupported.
2278
- *
2279
- * Here's an example source map, taken from the source map spec[0], but
2280
- * modified to omit a section which uses the "url" field.
2281
- *
2282
- * {
2283
- * version : 3,
2284
- * file: "app.js",
2285
- * sections: [{
2286
- * offset: {line:100, column:10},
2287
- * map: {
2288
- * version : 3,
2289
- * file: "section.js",
2290
- * sources: ["foo.js", "bar.js"],
2291
- * names: ["src", "maps", "are", "fun"],
2292
- * mappings: "AAAA,E;;ABCDE;"
2293
- * }
2294
- * }],
2295
- * }
2296
- *
2297
- * The second parameter, if given, is a string whose value is the URL
2298
- * at which the source map was found. This URL is used to compute the
2299
- * sources array.
2300
- *
2301
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
2302
- */
2303
- function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
2304
- var sourceMap = aSourceMap;
2305
- if (typeof aSourceMap === 'string') {
2306
- sourceMap = util.parseSourceMapInput(aSourceMap);
2307
- }
2308
-
2309
- var version = util.getArg(sourceMap, 'version');
2310
- var sections = util.getArg(sourceMap, 'sections');
2311
-
2312
- if (version != this._version) {
2313
- throw new Error('Unsupported version: ' + version);
2314
- }
2315
-
2316
- this._sources = new ArraySet();
2317
- this._names = new ArraySet();
2318
-
2319
- var lastOffset = {
2320
- line: -1,
2321
- column: 0
2322
- };
2323
- this._sections = sections.map(function (s) {
2324
- if (s.url) {
2325
- // The url field will require support for asynchronicity.
2326
- // See https://github.com/mozilla/source-map/issues/16
2327
- throw new Error('Support for url field in sections not implemented.');
2328
- }
2329
- var offset = util.getArg(s, 'offset');
2330
- var offsetLine = util.getArg(offset, 'line');
2331
- var offsetColumn = util.getArg(offset, 'column');
2332
-
2333
- if (offsetLine < lastOffset.line ||
2334
- (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
2335
- throw new Error('Section offsets must be ordered and non-overlapping.');
2336
- }
2337
- lastOffset = offset;
2338
-
2339
- return {
2340
- generatedOffset: {
2341
- // The offset fields are 0-based, but we use 1-based indices when
2342
- // encoding/decoding from VLQ.
2343
- generatedLine: offsetLine + 1,
2344
- generatedColumn: offsetColumn + 1
2345
- },
2346
- consumer: new SourceMapConsumer(util.getArg(s, 'map'), aSourceMapURL)
2347
- }
2348
- });
2349
- }
2350
-
2351
- IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
2352
- IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
2353
-
2354
- /**
2355
- * The version of the source mapping spec that we are consuming.
2356
- */
2357
- IndexedSourceMapConsumer.prototype._version = 3;
2358
-
2359
- /**
2360
- * The list of original sources.
2361
- */
2362
- Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {
2363
- get: function () {
2364
- var sources = [];
2365
- for (var i = 0; i < this._sections.length; i++) {
2366
- for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
2367
- sources.push(this._sections[i].consumer.sources[j]);
2368
- }
2369
- }
2370
- return sources;
2371
- }
2372
- });
2373
-
2374
- /**
2375
- * Returns the original source, line, and column information for the generated
2376
- * source's line and column positions provided. The only argument is an object
2377
- * with the following properties:
2378
- *
2379
- * - line: The line number in the generated source. The line number
2380
- * is 1-based.
2381
- * - column: The column number in the generated source. The column
2382
- * number is 0-based.
2383
- *
2384
- * and an object is returned with the following properties:
2385
- *
2386
- * - source: The original source file, or null.
2387
- * - line: The line number in the original source, or null. The
2388
- * line number is 1-based.
2389
- * - column: The column number in the original source, or null. The
2390
- * column number is 0-based.
2391
- * - name: The original identifier, or null.
2392
- */
2393
- IndexedSourceMapConsumer.prototype.originalPositionFor =
2394
- function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
2395
- var needle = {
2396
- generatedLine: util.getArg(aArgs, 'line'),
2397
- generatedColumn: util.getArg(aArgs, 'column')
2398
- };
2399
-
2400
- // Find the section containing the generated position we're trying to map
2401
- // to an original position.
2402
- var sectionIndex = binarySearch.search(needle, this._sections,
2403
- function(needle, section) {
2404
- var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
2405
- if (cmp) {
2406
- return cmp;
2407
- }
2408
-
2409
- return (needle.generatedColumn -
2410
- section.generatedOffset.generatedColumn);
2411
- });
2412
- var section = this._sections[sectionIndex];
2413
-
2414
- if (!section) {
2415
- return {
2416
- source: null,
2417
- line: null,
2418
- column: null,
2419
- name: null
2420
- };
2421
- }
2422
-
2423
- return section.consumer.originalPositionFor({
2424
- line: needle.generatedLine -
2425
- (section.generatedOffset.generatedLine - 1),
2426
- column: needle.generatedColumn -
2427
- (section.generatedOffset.generatedLine === needle.generatedLine
2428
- ? section.generatedOffset.generatedColumn - 1
2429
- : 0),
2430
- bias: aArgs.bias
2431
- });
2432
- };
2433
-
2434
- /**
2435
- * Return true if we have the source content for every source in the source
2436
- * map, false otherwise.
2437
- */
2438
- IndexedSourceMapConsumer.prototype.hasContentsOfAllSources =
2439
- function IndexedSourceMapConsumer_hasContentsOfAllSources() {
2440
- return this._sections.every(function (s) {
2441
- return s.consumer.hasContentsOfAllSources();
2442
- });
2443
- };
2444
-
2445
- /**
2446
- * Returns the original source content. The only argument is the url of the
2447
- * original source file. Returns null if no original source content is
2448
- * available.
2449
- */
2450
- IndexedSourceMapConsumer.prototype.sourceContentFor =
2451
- function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
2452
- for (var i = 0; i < this._sections.length; i++) {
2453
- var section = this._sections[i];
2454
-
2455
- var content = section.consumer.sourceContentFor(aSource, true);
2456
- if (content) {
2457
- return content;
2458
- }
2459
- }
2460
- if (nullOnMissing) {
2461
- return null;
2462
- }
2463
- else {
2464
- throw new Error('"' + aSource + '" is not in the SourceMap.');
2465
- }
2466
- };
2467
-
2468
- /**
2469
- * Returns the generated line and column information for the original source,
2470
- * line, and column positions provided. The only argument is an object with
2471
- * the following properties:
2472
- *
2473
- * - source: The filename of the original source.
2474
- * - line: The line number in the original source. The line number
2475
- * is 1-based.
2476
- * - column: The column number in the original source. The column
2477
- * number is 0-based.
2478
- *
2479
- * and an object is returned with the following properties:
2480
- *
2481
- * - line: The line number in the generated source, or null. The
2482
- * line number is 1-based.
2483
- * - column: The column number in the generated source, or null.
2484
- * The column number is 0-based.
2485
- */
2486
- IndexedSourceMapConsumer.prototype.generatedPositionFor =
2487
- function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
2488
- for (var i = 0; i < this._sections.length; i++) {
2489
- var section = this._sections[i];
2490
-
2491
- // Only consider this section if the requested source is in the list of
2492
- // sources of the consumer.
2493
- if (section.consumer._findSourceIndex(util.getArg(aArgs, 'source')) === -1) {
2494
- continue;
2495
- }
2496
- var generatedPosition = section.consumer.generatedPositionFor(aArgs);
2497
- if (generatedPosition) {
2498
- var ret = {
2499
- line: generatedPosition.line +
2500
- (section.generatedOffset.generatedLine - 1),
2501
- column: generatedPosition.column +
2502
- (section.generatedOffset.generatedLine === generatedPosition.line
2503
- ? section.generatedOffset.generatedColumn - 1
2504
- : 0)
2505
- };
2506
- return ret;
2507
- }
2508
- }
2509
-
2510
- return {
2511
- line: null,
2512
- column: null
2513
- };
2514
- };
2515
-
2516
- /**
2517
- * Parse the mappings in a string in to a data structure which we can easily
2518
- * query (the ordered arrays in the `this.__generatedMappings` and
2519
- * `this.__originalMappings` properties).
2520
- */
2521
- IndexedSourceMapConsumer.prototype._parseMappings =
2522
- function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
2523
- this.__generatedMappings = [];
2524
- this.__originalMappings = [];
2525
- for (var i = 0; i < this._sections.length; i++) {
2526
- var section = this._sections[i];
2527
- var sectionMappings = section.consumer._generatedMappings;
2528
- for (var j = 0; j < sectionMappings.length; j++) {
2529
- var mapping = sectionMappings[j];
2530
-
2531
- var source = section.consumer._sources.at(mapping.source);
2532
- source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
2533
- this._sources.add(source);
2534
- source = this._sources.indexOf(source);
2535
-
2536
- var name = null;
2537
- if (mapping.name) {
2538
- name = section.consumer._names.at(mapping.name);
2539
- this._names.add(name);
2540
- name = this._names.indexOf(name);
2541
- }
2542
-
2543
- // The mappings coming from the consumer for the section have
2544
- // generated positions relative to the start of the section, so we
2545
- // need to offset them to be relative to the start of the concatenated
2546
- // generated file.
2547
- var adjustedMapping = {
2548
- source: source,
2549
- generatedLine: mapping.generatedLine +
2550
- (section.generatedOffset.generatedLine - 1),
2551
- generatedColumn: mapping.generatedColumn +
2552
- (section.generatedOffset.generatedLine === mapping.generatedLine
2553
- ? section.generatedOffset.generatedColumn - 1
2554
- : 0),
2555
- originalLine: mapping.originalLine,
2556
- originalColumn: mapping.originalColumn,
2557
- name: name
2558
- };
2559
-
2560
- this.__generatedMappings.push(adjustedMapping);
2561
- if (typeof adjustedMapping.originalLine === 'number') {
2562
- this.__originalMappings.push(adjustedMapping);
2563
- }
2564
- }
2565
- }
2566
-
2567
- quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
2568
- quickSort(this.__originalMappings, util.compareByOriginalPositions);
2569
- };
2570
-
2571
- exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
2572
-
2573
-
2574
- /***/ }),
2575
- /* 8 */
2576
- /***/ (function(module, exports) {
2577
-
2578
- /* -*- Mode: js; js-indent-level: 2; -*- */
2579
- /*
2580
- * Copyright 2011 Mozilla Foundation and contributors
2581
- * Licensed under the New BSD license. See LICENSE or:
2582
- * http://opensource.org/licenses/BSD-3-Clause
2583
- */
2584
-
2585
- exports.GREATEST_LOWER_BOUND = 1;
2586
- exports.LEAST_UPPER_BOUND = 2;
2587
-
2588
- /**
2589
- * Recursive implementation of binary search.
2590
- *
2591
- * @param aLow Indices here and lower do not contain the needle.
2592
- * @param aHigh Indices here and higher do not contain the needle.
2593
- * @param aNeedle The element being searched for.
2594
- * @param aHaystack The non-empty array being searched.
2595
- * @param aCompare Function which takes two elements and returns -1, 0, or 1.
2596
- * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2597
- * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2598
- * closest element that is smaller than or greater than the one we are
2599
- * searching for, respectively, if the exact element cannot be found.
2600
- */
2601
- function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
2602
- // This function terminates when one of the following is true:
2603
- //
2604
- // 1. We find the exact element we are looking for.
2605
- //
2606
- // 2. We did not find the exact element, but we can return the index of
2607
- // the next-closest element.
2608
- //
2609
- // 3. We did not find the exact element, and there is no next-closest
2610
- // element than the one we are searching for, so we return -1.
2611
- var mid = Math.floor((aHigh - aLow) / 2) + aLow;
2612
- var cmp = aCompare(aNeedle, aHaystack[mid], true);
2613
- if (cmp === 0) {
2614
- // Found the element we are looking for.
2615
- return mid;
2616
- }
2617
- else if (cmp > 0) {
2618
- // Our needle is greater than aHaystack[mid].
2619
- if (aHigh - mid > 1) {
2620
- // The element is in the upper half.
2621
- return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
2622
- }
2623
-
2624
- // The exact needle element was not found in this haystack. Determine if
2625
- // we are in termination case (3) or (2) and return the appropriate thing.
2626
- if (aBias == exports.LEAST_UPPER_BOUND) {
2627
- return aHigh < aHaystack.length ? aHigh : -1;
2628
- } else {
2629
- return mid;
2630
- }
2631
- }
2632
- else {
2633
- // Our needle is less than aHaystack[mid].
2634
- if (mid - aLow > 1) {
2635
- // The element is in the lower half.
2636
- return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
2637
- }
2638
-
2639
- // we are in termination case (3) or (2) and return the appropriate thing.
2640
- if (aBias == exports.LEAST_UPPER_BOUND) {
2641
- return mid;
2642
- } else {
2643
- return aLow < 0 ? -1 : aLow;
2644
- }
2645
- }
2646
- }
2647
-
2648
- /**
2649
- * This is an implementation of binary search which will always try and return
2650
- * the index of the closest element if there is no exact hit. This is because
2651
- * mappings between original and generated line/col pairs are single points,
2652
- * and there is an implicit region between each of them, so a miss just means
2653
- * that you aren't on the very start of a region.
2654
- *
2655
- * @param aNeedle The element you are looking for.
2656
- * @param aHaystack The array that is being searched.
2657
- * @param aCompare A function which takes the needle and an element in the
2658
- * array and returns -1, 0, or 1 depending on whether the needle is less
2659
- * than, equal to, or greater than the element, respectively.
2660
- * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2661
- * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2662
- * closest element that is smaller than or greater than the one we are
2663
- * searching for, respectively, if the exact element cannot be found.
2664
- * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
2665
- */
2666
- exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
2667
- if (aHaystack.length === 0) {
2668
- return -1;
2669
- }
2670
-
2671
- var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
2672
- aCompare, aBias || exports.GREATEST_LOWER_BOUND);
2673
- if (index < 0) {
2674
- return -1;
2675
- }
2676
-
2677
- // We have found either the exact element, or the next-closest element than
2678
- // the one we are searching for. However, there may be more than one such
2679
- // element. Make sure we always return the smallest of these.
2680
- while (index - 1 >= 0) {
2681
- if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
2682
- break;
2683
- }
2684
- --index;
2685
- }
2686
-
2687
- return index;
2688
- };
2689
-
2690
-
2691
- /***/ }),
2692
- /* 9 */
2693
- /***/ (function(module, exports) {
2694
-
2695
- /* -*- Mode: js; js-indent-level: 2; -*- */
2696
- /*
2697
- * Copyright 2011 Mozilla Foundation and contributors
2698
- * Licensed under the New BSD license. See LICENSE or:
2699
- * http://opensource.org/licenses/BSD-3-Clause
2700
- */
2701
-
2702
- // It turns out that some (most?) JavaScript engines don't self-host
2703
- // `Array.prototype.sort`. This makes sense because C++ will likely remain
2704
- // faster than JS when doing raw CPU-intensive sorting. However, when using a
2705
- // custom comparator function, calling back and forth between the VM's C++ and
2706
- // JIT'd JS is rather slow *and* loses JIT type information, resulting in
2707
- // worse generated code for the comparator function than would be optimal. In
2708
- // fact, when sorting with a comparator, these costs outweigh the benefits of
2709
- // sorting in C++. By using our own JS-implemented Quick Sort (below), we get
2710
- // a ~3500ms mean speed-up in `bench/bench.html`.
2711
-
2712
- /**
2713
- * Swap the elements indexed by `x` and `y` in the array `ary`.
2714
- *
2715
- * @param {Array} ary
2716
- * The array.
2717
- * @param {Number} x
2718
- * The index of the first item.
2719
- * @param {Number} y
2720
- * The index of the second item.
2721
- */
2722
- function swap(ary, x, y) {
2723
- var temp = ary[x];
2724
- ary[x] = ary[y];
2725
- ary[y] = temp;
2726
- }
2727
-
2728
- /**
2729
- * Returns a random integer within the range `low .. high` inclusive.
2730
- *
2731
- * @param {Number} low
2732
- * The lower bound on the range.
2733
- * @param {Number} high
2734
- * The upper bound on the range.
2735
- */
2736
- function randomIntInRange(low, high) {
2737
- return Math.round(low + (Math.random() * (high - low)));
2738
- }
2739
-
2740
- /**
2741
- * The Quick Sort algorithm.
2742
- *
2743
- * @param {Array} ary
2744
- * An array to sort.
2745
- * @param {function} comparator
2746
- * Function to use to compare two items.
2747
- * @param {Number} p
2748
- * Start index of the array
2749
- * @param {Number} r
2750
- * End index of the array
2751
- */
2752
- function doQuickSort(ary, comparator, p, r) {
2753
- // If our lower bound is less than our upper bound, we (1) partition the
2754
- // array into two pieces and (2) recurse on each half. If it is not, this is
2755
- // the empty array and our base case.
2756
-
2757
- if (p < r) {
2758
- // (1) Partitioning.
2759
- //
2760
- // The partitioning chooses a pivot between `p` and `r` and moves all
2761
- // elements that are less than or equal to the pivot to the before it, and
2762
- // all the elements that are greater than it after it. The effect is that
2763
- // once partition is done, the pivot is in the exact place it will be when
2764
- // the array is put in sorted order, and it will not need to be moved
2765
- // again. This runs in O(n) time.
2766
-
2767
- // Always choose a random pivot so that an input array which is reverse
2768
- // sorted does not cause O(n^2) running time.
2769
- var pivotIndex = randomIntInRange(p, r);
2770
- var i = p - 1;
2771
-
2772
- swap(ary, pivotIndex, r);
2773
- var pivot = ary[r];
2774
-
2775
- // Immediately after `j` is incremented in this loop, the following hold
2776
- // true:
2777
- //
2778
- // * Every element in `ary[p .. i]` is less than or equal to the pivot.
2779
- //
2780
- // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.
2781
- for (var j = p; j < r; j++) {
2782
- if (comparator(ary[j], pivot) <= 0) {
2783
- i += 1;
2784
- swap(ary, i, j);
2785
- }
2786
- }
2787
-
2788
- swap(ary, i + 1, j);
2789
- var q = i + 1;
2790
-
2791
- // (2) Recurse on each half.
2792
-
2793
- doQuickSort(ary, comparator, p, q - 1);
2794
- doQuickSort(ary, comparator, q + 1, r);
2795
- }
2796
- }
2797
-
2798
- /**
2799
- * Sort the given array in-place with the given comparator function.
2800
- *
2801
- * @param {Array} ary
2802
- * An array to sort.
2803
- * @param {function} comparator
2804
- * Function to use to compare two items.
2805
- */
2806
- exports.quickSort = function (ary, comparator) {
2807
- doQuickSort(ary, comparator, 0, ary.length - 1);
2808
- };
2809
-
2810
-
2811
- /***/ }),
2812
- /* 10 */
2813
- /***/ (function(module, exports, __webpack_require__) {
2814
-
2815
- /* -*- Mode: js; js-indent-level: 2; -*- */
2816
- /*
2817
- * Copyright 2011 Mozilla Foundation and contributors
2818
- * Licensed under the New BSD license. See LICENSE or:
2819
- * http://opensource.org/licenses/BSD-3-Clause
2820
- */
2821
-
2822
- var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
2823
- var util = __webpack_require__(4);
2824
-
2825
- // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
2826
- // operating systems these days (capturing the result).
2827
- var REGEX_NEWLINE = /(\r?\n)/;
2828
-
2829
- // Newline character code for charCodeAt() comparisons
2830
- var NEWLINE_CODE = 10;
2831
-
2832
- // Private symbol for identifying `SourceNode`s when multiple versions of
2833
- // the source-map library are loaded. This MUST NOT CHANGE across
2834
- // versions!
2835
- var isSourceNode = "$$$isSourceNode$$$";
2836
-
2837
- /**
2838
- * SourceNodes provide a way to abstract over interpolating/concatenating
2839
- * snippets of generated JavaScript source code while maintaining the line and
2840
- * column information associated with the original source code.
2841
- *
2842
- * @param aLine The original line number.
2843
- * @param aColumn The original column number.
2844
- * @param aSource The original source's filename.
2845
- * @param aChunks Optional. An array of strings which are snippets of
2846
- * generated JS, or other SourceNodes.
2847
- * @param aName The original identifier.
2848
- */
2849
- function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
2850
- this.children = [];
2851
- this.sourceContents = {};
2852
- this.line = aLine == null ? null : aLine;
2853
- this.column = aColumn == null ? null : aColumn;
2854
- this.source = aSource == null ? null : aSource;
2855
- this.name = aName == null ? null : aName;
2856
- this[isSourceNode] = true;
2857
- if (aChunks != null) this.add(aChunks);
2858
- }
2859
-
2860
- /**
2861
- * Creates a SourceNode from generated code and a SourceMapConsumer.
2862
- *
2863
- * @param aGeneratedCode The generated code
2864
- * @param aSourceMapConsumer The SourceMap for the generated code
2865
- * @param aRelativePath Optional. The path that relative sources in the
2866
- * SourceMapConsumer should be relative to.
2867
- */
2868
- SourceNode.fromStringWithSourceMap =
2869
- function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
2870
- // The SourceNode we want to fill with the generated code
2871
- // and the SourceMap
2872
- var node = new SourceNode();
2873
-
2874
- // All even indices of this array are one line of the generated code,
2875
- // while all odd indices are the newlines between two adjacent lines
2876
- // (since `REGEX_NEWLINE` captures its match).
2877
- // Processed fragments are accessed by calling `shiftNextLine`.
2878
- var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
2879
- var remainingLinesIndex = 0;
2880
- var shiftNextLine = function() {
2881
- var lineContents = getNextLine();
2882
- // The last line of a file might not have a newline.
2883
- var newLine = getNextLine() || "";
2884
- return lineContents + newLine;
2885
-
2886
- function getNextLine() {
2887
- return remainingLinesIndex < remainingLines.length ?
2888
- remainingLines[remainingLinesIndex++] : undefined;
2889
- }
2890
- };
2891
-
2892
- // We need to remember the position of "remainingLines"
2893
- var lastGeneratedLine = 1, lastGeneratedColumn = 0;
2894
-
2895
- // The generate SourceNodes we need a code range.
2896
- // To extract it current and last mapping is used.
2897
- // Here we store the last mapping.
2898
- var lastMapping = null;
2899
-
2900
- aSourceMapConsumer.eachMapping(function (mapping) {
2901
- if (lastMapping !== null) {
2902
- // We add the code from "lastMapping" to "mapping":
2903
- // First check if there is a new line in between.
2904
- if (lastGeneratedLine < mapping.generatedLine) {
2905
- // Associate first line with "lastMapping"
2906
- addMappingWithCode(lastMapping, shiftNextLine());
2907
- lastGeneratedLine++;
2908
- lastGeneratedColumn = 0;
2909
- // The remaining code is added without mapping
2910
- } else {
2911
- // There is no new line in between.
2912
- // Associate the code between "lastGeneratedColumn" and
2913
- // "mapping.generatedColumn" with "lastMapping"
2914
- var nextLine = remainingLines[remainingLinesIndex] || '';
2915
- var code = nextLine.substr(0, mapping.generatedColumn -
2916
- lastGeneratedColumn);
2917
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -
2918
- lastGeneratedColumn);
2919
- lastGeneratedColumn = mapping.generatedColumn;
2920
- addMappingWithCode(lastMapping, code);
2921
- // No more remaining code, continue
2922
- lastMapping = mapping;
2923
- return;
2924
- }
2925
- }
2926
- // We add the generated code until the first mapping
2927
- // to the SourceNode without any mapping.
2928
- // Each line is added as separate string.
2929
- while (lastGeneratedLine < mapping.generatedLine) {
2930
- node.add(shiftNextLine());
2931
- lastGeneratedLine++;
2932
- }
2933
- if (lastGeneratedColumn < mapping.generatedColumn) {
2934
- var nextLine = remainingLines[remainingLinesIndex] || '';
2935
- node.add(nextLine.substr(0, mapping.generatedColumn));
2936
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
2937
- lastGeneratedColumn = mapping.generatedColumn;
2938
- }
2939
- lastMapping = mapping;
2940
- }, this);
2941
- // We have processed all mappings.
2942
- if (remainingLinesIndex < remainingLines.length) {
2943
- if (lastMapping) {
2944
- // Associate the remaining code in the current line with "lastMapping"
2945
- addMappingWithCode(lastMapping, shiftNextLine());
2946
- }
2947
- // and add the remaining lines without any mapping
2948
- node.add(remainingLines.splice(remainingLinesIndex).join(""));
2949
- }
2950
-
2951
- // Copy sourcesContent into SourceNode
2952
- aSourceMapConsumer.sources.forEach(function (sourceFile) {
2953
- var content = aSourceMapConsumer.sourceContentFor(sourceFile);
2954
- if (content != null) {
2955
- if (aRelativePath != null) {
2956
- sourceFile = util.join(aRelativePath, sourceFile);
2957
- }
2958
- node.setSourceContent(sourceFile, content);
2959
- }
2960
- });
2961
-
2962
- return node;
2963
-
2964
- function addMappingWithCode(mapping, code) {
2965
- if (mapping === null || mapping.source === undefined) {
2966
- node.add(code);
2967
- } else {
2968
- var source = aRelativePath
2969
- ? util.join(aRelativePath, mapping.source)
2970
- : mapping.source;
2971
- node.add(new SourceNode(mapping.originalLine,
2972
- mapping.originalColumn,
2973
- source,
2974
- code,
2975
- mapping.name));
2976
- }
2977
- }
2978
- };
2979
-
2980
- /**
2981
- * Add a chunk of generated JS to this source node.
2982
- *
2983
- * @param aChunk A string snippet of generated JS code, another instance of
2984
- * SourceNode, or an array where each member is one of those things.
2985
- */
2986
- SourceNode.prototype.add = function SourceNode_add(aChunk) {
2987
- if (Array.isArray(aChunk)) {
2988
- aChunk.forEach(function (chunk) {
2989
- this.add(chunk);
2990
- }, this);
2991
- }
2992
- else if (aChunk[isSourceNode] || typeof aChunk === "string") {
2993
- if (aChunk) {
2994
- this.children.push(aChunk);
2995
- }
2996
- }
2997
- else {
2998
- throw new TypeError(
2999
- "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
3000
- );
3001
- }
3002
- return this;
3003
- };
3004
-
3005
- /**
3006
- * Add a chunk of generated JS to the beginning of this source node.
3007
- *
3008
- * @param aChunk A string snippet of generated JS code, another instance of
3009
- * SourceNode, or an array where each member is one of those things.
3010
- */
3011
- SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {
3012
- if (Array.isArray(aChunk)) {
3013
- for (var i = aChunk.length-1; i >= 0; i--) {
3014
- this.prepend(aChunk[i]);
3015
- }
3016
- }
3017
- else if (aChunk[isSourceNode] || typeof aChunk === "string") {
3018
- this.children.unshift(aChunk);
3019
- }
3020
- else {
3021
- throw new TypeError(
3022
- "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
3023
- );
3024
- }
3025
- return this;
3026
- };
3027
-
3028
- /**
3029
- * Walk over the tree of JS snippets in this node and its children. The
3030
- * walking function is called once for each snippet of JS and is passed that
3031
- * snippet and the its original associated source's line/column location.
3032
- *
3033
- * @param aFn The traversal function.
3034
- */
3035
- SourceNode.prototype.walk = function SourceNode_walk(aFn) {
3036
- var chunk;
3037
- for (var i = 0, len = this.children.length; i < len; i++) {
3038
- chunk = this.children[i];
3039
- if (chunk[isSourceNode]) {
3040
- chunk.walk(aFn);
3041
- }
3042
- else {
3043
- if (chunk !== '') {
3044
- aFn(chunk, { source: this.source,
3045
- line: this.line,
3046
- column: this.column,
3047
- name: this.name });
3048
- }
3049
- }
3050
- }
3051
- };
3052
-
3053
- /**
3054
- * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
3055
- * each of `this.children`.
3056
- *
3057
- * @param aSep The separator.
3058
- */
3059
- SourceNode.prototype.join = function SourceNode_join(aSep) {
3060
- var newChildren;
3061
- var i;
3062
- var len = this.children.length;
3063
- if (len > 0) {
3064
- newChildren = [];
3065
- for (i = 0; i < len-1; i++) {
3066
- newChildren.push(this.children[i]);
3067
- newChildren.push(aSep);
3068
- }
3069
- newChildren.push(this.children[i]);
3070
- this.children = newChildren;
3071
- }
3072
- return this;
3073
- };
3074
-
3075
- /**
3076
- * Call String.prototype.replace on the very right-most source snippet. Useful
3077
- * for trimming whitespace from the end of a source node, etc.
3078
- *
3079
- * @param aPattern The pattern to replace.
3080
- * @param aReplacement The thing to replace the pattern with.
3081
- */
3082
- SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {
3083
- var lastChild = this.children[this.children.length - 1];
3084
- if (lastChild[isSourceNode]) {
3085
- lastChild.replaceRight(aPattern, aReplacement);
3086
- }
3087
- else if (typeof lastChild === 'string') {
3088
- this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
3089
- }
3090
- else {
3091
- this.children.push(''.replace(aPattern, aReplacement));
3092
- }
3093
- return this;
3094
- };
3095
-
3096
- /**
3097
- * Set the source content for a source file. This will be added to the SourceMapGenerator
3098
- * in the sourcesContent field.
3099
- *
3100
- * @param aSourceFile The filename of the source file
3101
- * @param aSourceContent The content of the source file
3102
- */
3103
- SourceNode.prototype.setSourceContent =
3104
- function SourceNode_setSourceContent(aSourceFile, aSourceContent) {
3105
- this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;
3106
- };
3107
-
3108
- /**
3109
- * Walk over the tree of SourceNodes. The walking function is called for each
3110
- * source file content and is passed the filename and source content.
3111
- *
3112
- * @param aFn The traversal function.
3113
- */
3114
- SourceNode.prototype.walkSourceContents =
3115
- function SourceNode_walkSourceContents(aFn) {
3116
- for (var i = 0, len = this.children.length; i < len; i++) {
3117
- if (this.children[i][isSourceNode]) {
3118
- this.children[i].walkSourceContents(aFn);
3119
- }
3120
- }
3121
-
3122
- var sources = Object.keys(this.sourceContents);
3123
- for (var i = 0, len = sources.length; i < len; i++) {
3124
- aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);
3125
- }
3126
- };
3127
-
3128
- /**
3129
- * Return the string representation of this source node. Walks over the tree
3130
- * and concatenates all the various snippets together to one string.
3131
- */
3132
- SourceNode.prototype.toString = function SourceNode_toString() {
3133
- var str = "";
3134
- this.walk(function (chunk) {
3135
- str += chunk;
3136
- });
3137
- return str;
3138
- };
3139
-
3140
- /**
3141
- * Returns the string representation of this source node along with a source
3142
- * map.
3143
- */
3144
- SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
3145
- var generated = {
3146
- code: "",
3147
- line: 1,
3148
- column: 0
3149
- };
3150
- var map = new SourceMapGenerator(aArgs);
3151
- var sourceMappingActive = false;
3152
- var lastOriginalSource = null;
3153
- var lastOriginalLine = null;
3154
- var lastOriginalColumn = null;
3155
- var lastOriginalName = null;
3156
- this.walk(function (chunk, original) {
3157
- generated.code += chunk;
3158
- if (original.source !== null
3159
- && original.line !== null
3160
- && original.column !== null) {
3161
- if(lastOriginalSource !== original.source
3162
- || lastOriginalLine !== original.line
3163
- || lastOriginalColumn !== original.column
3164
- || lastOriginalName !== original.name) {
3165
- map.addMapping({
3166
- source: original.source,
3167
- original: {
3168
- line: original.line,
3169
- column: original.column
3170
- },
3171
- generated: {
3172
- line: generated.line,
3173
- column: generated.column
3174
- },
3175
- name: original.name
3176
- });
3177
- }
3178
- lastOriginalSource = original.source;
3179
- lastOriginalLine = original.line;
3180
- lastOriginalColumn = original.column;
3181
- lastOriginalName = original.name;
3182
- sourceMappingActive = true;
3183
- } else if (sourceMappingActive) {
3184
- map.addMapping({
3185
- generated: {
3186
- line: generated.line,
3187
- column: generated.column
3188
- }
3189
- });
3190
- lastOriginalSource = null;
3191
- sourceMappingActive = false;
3192
- }
3193
- for (var idx = 0, length = chunk.length; idx < length; idx++) {
3194
- if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
3195
- generated.line++;
3196
- generated.column = 0;
3197
- // Mappings end at eol
3198
- if (idx + 1 === length) {
3199
- lastOriginalSource = null;
3200
- sourceMappingActive = false;
3201
- } else if (sourceMappingActive) {
3202
- map.addMapping({
3203
- source: original.source,
3204
- original: {
3205
- line: original.line,
3206
- column: original.column
3207
- },
3208
- generated: {
3209
- line: generated.line,
3210
- column: generated.column
3211
- },
3212
- name: original.name
3213
- });
3214
- }
3215
- } else {
3216
- generated.column++;
3217
- }
3218
- }
3219
- });
3220
- this.walkSourceContents(function (sourceFile, sourceContent) {
3221
- map.setSourceContent(sourceFile, sourceContent);
3222
- });
3223
-
3224
- return { code: generated.code, map: map };
3225
- };
3226
-
3227
- exports.SourceNode = SourceNode;
3228
-
3229
-
3230
- /***/ })
3231
- /******/ ])
3232
- });
3233
- ;
3234
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovLy93ZWJwYWNrL2Jvb3RzdHJhcCAxNjI0YzcyOTliODg3ZjdiZGY2NCIsIndlYnBhY2s6Ly8vLi9zb3VyY2UtbWFwLmpzIiwid2VicGFjazovLy8uL2xpYi9zb3VyY2UtbWFwLWdlbmVyYXRvci5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LXZscS5qcyIsIndlYnBhY2s6Ly8vLi9saWIvYmFzZTY0LmpzIiwid2VicGFjazovLy8uL2xpY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nVlO1xuICAgICAgICAgIH1cbiAgICAgICAgICBuZXh0ICs9ICcsJztcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUobWFwcGluZy5nZW5lcmF0ZWRDb2x1bW5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4pO1xuICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgaWYgKG1hcHBpbmcuc291cmNlICE9IG51bGwpIHtcbiAgICAgICAgc291cmNlSWR4ID0gdGhpcy5fc291cmNlcy5pbmRleE9mKG1hcHBpbmcuc291cmNlKTtcbiAgICAgICAgbmV4dCArPSBiYXNlNjRWTFEuZW5jb2RlKHNvdXJjZUlkeCAtIHByZXZpb3VzU291cmNlKTtcbiAgICAgICAgcHJldmlvdXNTb3VyY2UgPSBzb3VyY2VJZHg7XG5cbiAgICAgICAgLy8gbGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkIGluIFNvdXJjZU1hcCBzcGVjIHZlcnNpb24gM1xuICAgICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUobWFwcGluZy5vcmlnaW5hbExpbmUgLSAxXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbExpbmUpO1xuICAgICAgICBwcmV2aW91c09yaWdpbmFsTGluZSA9IG1hcHBpbmcub3JpZ2luYWxMaW5lIC0gMTtcblxuICAgICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUobWFwcGluZy5vcmlnaW5hbENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtIHByZXZpb3VzT3JpZ2luYWxDb2x1bW4pO1xuICAgICAgICBwcmV2aW91c09yaWdpbmFsQ29sdW1uID0gbWFwcGluZy5vcmln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tcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG5cbiAgICB2YXIgbWFwcGluZ3MgPSBbXTtcblxuICAgIHZhciBpbmRleCA9IHRoaXMuX2ZpbmRNYXBwaW5nKG5lZWRsZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwib3JpZ2luYWxMaW5lXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJvcmlnaW5hbENvbHVtblwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHV0aWwuY29tcGFyZUJ5T3JpZ2luYWxQb3NpdGlvbnMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmluYXJ5U2VhcmNoLkxFQVNUX1VQUEVSX0JPVU5EKTtcbiAgICBpZiAoaW5kZXggPj0gMCkge1xuICAgICAgdmFyIG1hcHBpbmcgPSB0aGlzLl9vcmlnaW5hbE1hcHBpbmdzW2luZGV4XTtcblxuICAgICAgaWYgKGFBcmdzLmNvbHVtbiA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIHZhciBvcmlnaW5hbExpbmUgPSBtYXBwaW5nLm9yaWdpbmFsTGluZTtcblxuICAgICAgICAvLyBJdGVyYXRlIHVudGlsIGVpdGhlciB3ZSBydW4gb3V0IG9mIG1hcHBpbmdzLCBvciB3ZSBydW4gaW50b1xuICAgICAgICAvLyBhIG1hcHBpbmcgZm9yIGEgZGlmZmVyZW50IGxpbmUgdGhhbiB0aGUgb25lIHdlIGZvdW5kLiBTaW5jZVxuICAgICAgICAvLyBtYXBwaW5ncyBhcmUgc29ydGVkLCB0aGlzIGlzIGd1YXJhbnRlZWQgdG8gZmluZCBhbGwgbWFwcGluZ3MgZm9yXG4gICAgICAgIC8vIHRoZSBsaW5lIHdlIGZvdW5kLlxuICAgICAgICB3aGlsZSAobWFwcGluZyA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VuZCkpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBzdHIgPSBhU3RyLnNsaWNlKGluZGV4LCBlbmQpO1xuXG4gICAgICAgIHNlZ21lbnQgPSBjYWNoZWRTZWdtZW50c1tzdHJdO1xuICAgICAgICBpZiAoc2VnbWVudCkge1xuICAgICAgICAgIGluZGV4ICs9IHN0ci5sZW5ndGg7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc2VnbWVudCA9IFtdO1xuICAgICAgICAgIHdoaWxlIChpbmRleCA8IGVuZCkge1xuICAgICAgICAgICAgYmFzZTY0VkxRLmRlY29kZShhU3RyLCBpbmRleCwgdGVtcCk7XG4gICAgICAgICAgICB2YWx1ZSA9IHRlbXAudmFsdWU7XG4gICAgICAgICAgICBpbmRleCA9IHRlbXAucmVzdDtcbiAgICAgICAgICAgIHNlZ21lbnQucHVzaCh2YWx1ZSk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAyKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlLCBidXQgbm8gbGluZSBhbmQgY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHNlZ21lbnQubGVuZ3RoID09PSAzKSB7XG4gICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZvdW5kIGEgc291cmNlIGFuZCBsaW5lLCBidXQgbm8gY29sdW1uJyk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgY2FjaGVkU2VnbWVudHNbc3RyXSA9IHNlZ21lbnQ7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBHZW5lcmF0ZWQgY29sdW1uLlxuICAgICAgICBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbiA9IHByZXZpb3VzR2VuZXJhdGVkQ29sdW1uICsgc2VnbWVudFswXTtcbiAgICAgICAgcHJldmlvdXNHZW5lcmF0ZWRDb2x1bW4gPSBtYXBwaW5nLmdlbmVyYXRlZENvbHVtbjtcblxuICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiAxKSB7XG4gICAgICAgICAgLy8gT3JpZ2luYWwgc291cmNlLlxuICAgICAgICAgIG1hcHBpbmcuc291cmNlID0gcHJldmlvdXNTb3VyY2UgKyBzZWdtZW50WzFdO1xuICAgICAgICAgIHByZXZpb3VzU291cmNlICs9IHNlZ21lbnRbMV07XG5cbiAgICAgICAgICAvLyBPcmlnaW5hbCBsaW5lLlxuICAgICAgICAgIG1hcHBpbmcub3JpZ2luYWxMaW5lID0gcHJldmlvdXNPcmlnaW5hbExpbmUgKyBzZWdtZW50WzJdO1xuICAgICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmU7XG4gICAgICAgICAgLy8gTGluZXMgYXJlIHN0b3JlZCAwLWJhc2VkXG4gICAgICAgICAgbWFwcGluZy5vcmlnaW5hbExpbmUgKz0gMTtcblxuICAgICAgICAgIC8vIE9yaWdpbmFsIGNvbHVtbi5cbiAgICAgICAgICBtYXBwaW5nLm9yaWdpbmFsQ29sdW1uID0gcHJldmlvdXNPcmlnaW5hbENvbHVtbiArIHNlZ21lbnRbM107XG4gICAgICAgICAgcHJldmlvdXNPcmlnaW5hbENvbHVtbiA9IG1hcHBpbmcub3JpZ2luYWxDb2x1bW47XG5cbiAgICAgICAgICBpZiAoc2VnbWVudC5sZW5ndGggPiA0KSB7XG4gICAgICAgICAgICAvLyBPcmlnaW5hbCBuYW1lLlxuICAgICAgICAgICAgbWFwcGluZy5uYW1lID0gcHJldmlvdXNOYW1lICsgc2VnbWVudFs0XTtcbiAgICAgICAgICAgIHByZXZpb3VzTmFtZSArPSBzZWdtZW50WzRdO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGdlbmVyYXRlZE1hcHBpbmdzLnB1c2gobWFwcGluZyk7X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biAgICAgICAgdmFyIHNvdXJjZSA9IGFSZWxhdGl2ZVBhdGhcbiAgICAgICAgICA/IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBtYXBwaW5nLnNvdXJjZSlcbiAgICAgICAgICA6IG1hcHBpbmcuc291cmNlO1xuICAgICAgICBub2RlLmFkZChuZXcgU291cmNlTm9kZShtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nLm5hbWUpKTtcbiAgICAgIH1cbiAgICB9XG4gIH07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoaXMgc291cmNlIG5vZGUuXG4gKlxuICogQHBhcmFtIGFDaHVuayBBIHN0cmluZyBzbmlwcGV0IG9mIGdlbmVyYXRlZCBKUyBjb2RlLCBhbm90aGVyIGluc3RhbmNlIG9mXG4gKiAgICAgICAgU291cmNlTm9kZSwgb3IgYW4gYXJyYXkgd2hlcmUgZWFjaCBtZW1iZXIgaXMgb25lIG9mIHRob3NlIHRoaW5ncy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24gU291cmNlTm9kZV9hZGQoYUNodW5rKSB7XG4gIGlmIChBcnJheS5pc0FycmF5KGFDaHVuaykpIHtcbiAgICBhQ2h1bmsuZm9yRWFjaChmdW5jdGlvbiAoY2h1bmspIHtcbiAgICAgIHRoaXMuYWRkKGNodW5rKTtcbiAgICB9LCB0aGlzKTtcbiAgfVxuICBlbHNlIGlmIChhQ2h1bmtbaXNTb3VyY2VOb2RlXSB8fCB0eXBlb2YgYUNodW5rID09PSBcInN0cmluZ1wiKS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