@cdklabs/cdk-ssm-documents 0.0.65 → 0.0.66

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 (436) hide show
  1. package/.jsii +11 -11
  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 +1 -1
  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 +1 -1
  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-cjs/flexible-checksums/getCrc32ChecksumAlgorithmFunction.browser.js +2 -6
  117. package/node_modules/@aws-sdk/checksums/dist-cjs/flexible-checksums/getCrc32ChecksumAlgorithmFunction.js +6 -11
  118. package/node_modules/@aws-sdk/checksums/dist-cjs/index.js +56 -56
  119. package/node_modules/@aws-sdk/checksums/package.json +6 -6
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +2 -5
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +7 -11
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +449 -469
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +4 -8
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +59 -91
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +22 -26
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +30 -34
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +4 -7
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +20 -24
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +814 -533
  131. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/bdd.js +2 -5
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/endpoint/endpointResolver.js +7 -11
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +222 -242
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/CloudWatchServiceException.js +4 -8
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/errors.js +35 -55
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.browser.js +25 -29
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.js +33 -37
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.native.js +4 -7
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/runtimeConfig.shared.js +20 -24
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/schemas/schemas_0.js +419 -275
  143. package/node_modules/@aws-sdk/client-cloudwatch/package.json +9 -9
  144. package/node_modules/@aws-sdk/client-ec2/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  145. package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/bdd.js +2 -5
  146. package/node_modules/@aws-sdk/client-ec2/dist-cjs/endpoint/endpointResolver.js +7 -11
  147. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +2875 -2885
  148. package/node_modules/@aws-sdk/client-ec2/dist-cjs/models/EC2ServiceException.js +4 -8
  149. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.browser.js +22 -26
  150. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.js +30 -34
  151. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.native.js +4 -7
  152. package/node_modules/@aws-sdk/client-ec2/dist-cjs/runtimeConfig.shared.js +20 -24
  153. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +6885 -4554
  154. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CancelCapacityReservationCommand.d.ts +16 -10
  155. package/node_modules/@aws-sdk/client-ec2/package.json +11 -11
  156. package/node_modules/@aws-sdk/client-iam/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  157. package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/bdd.js +2 -5
  158. package/node_modules/@aws-sdk/client-iam/dist-cjs/endpoint/endpointResolver.js +7 -11
  159. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +634 -654
  160. package/node_modules/@aws-sdk/client-iam/dist-cjs/models/IAMServiceException.js +4 -8
  161. package/node_modules/@aws-sdk/client-iam/dist-cjs/models/errors.js +71 -109
  162. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.browser.js +22 -26
  163. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.js +30 -34
  164. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.native.js +4 -7
  165. package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.shared.js +20 -24
  166. package/node_modules/@aws-sdk/client-iam/dist-cjs/schemas/schemas_0.js +1006 -665
  167. package/node_modules/@aws-sdk/client-iam/package.json +10 -10
  168. package/node_modules/@aws-sdk/client-lambda/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  169. package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/bdd.js +2 -5
  170. package/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/endpointResolver.js +7 -11
  171. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +368 -386
  172. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +4 -8
  173. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +229 -145
  174. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.browser.js +24 -28
  175. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.js +32 -36
  176. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.native.js +4 -7
  177. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +20 -24
  178. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +959 -581
  179. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +2 -0
  180. package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +134 -0
  181. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +100 -31
  182. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +5 -2
  183. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +3 -0
  184. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +28 -28
  185. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +14 -14
  186. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +3 -0
  187. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +16 -16
  188. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +3 -0
  189. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts +6 -0
  190. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +16 -16
  191. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +3 -0
  192. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +8 -8
  193. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +8 -8
  194. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +4 -4
  195. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +4 -4
  196. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +72 -0
  198. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +21 -0
  199. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +6 -0
  200. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +16 -16
  201. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +8 -8
  202. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +6 -6
  203. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +6 -6
  204. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +8 -8
  205. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +8 -8
  206. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +8 -8
  207. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +3 -0
  209. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +3 -0
  210. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +3 -0
  211. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +3 -0
  212. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +32 -32
  213. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -12
  214. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +9 -9
  215. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +2 -0
  216. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +173 -0
  217. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +158 -158
  218. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +9 -0
  219. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +2 -0
  220. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +88 -0
  221. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +33 -33
  222. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  223. package/node_modules/@aws-sdk/client-lambda/package.json +12 -12
  224. package/node_modules/@aws-sdk/client-s3/README.md +35 -0
  225. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
  226. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/bdd.js +2 -5
  227. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +7 -11
  228. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +646 -535
  229. package/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +4 -8
  230. package/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +106 -52
  231. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +29 -33
  232. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +43 -47
  233. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +4 -7
  234. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +25 -29
  235. package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +1256 -740
  236. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
  237. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
  238. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
  239. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
  240. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
  241. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
  242. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +5 -0
  243. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +12 -1
  244. package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +76 -4
  245. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
  246. package/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
  247. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +260 -100
  248. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
  249. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +7 -2
  250. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +1 -0
  251. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
  252. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
  253. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
  254. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  255. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
  256. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
  257. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  258. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
  259. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
  261. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
  262. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +5 -0
  263. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +29 -2
  264. package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +76 -4
  265. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +925 -549
  266. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +380 -2
  267. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
  268. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
  269. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +24 -0
  270. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +98 -0
  271. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +30 -0
  272. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
  273. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
  274. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
  275. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
  276. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
  278. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
  279. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +5 -0
  280. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +18 -3
  281. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +41 -3
  282. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +138 -64
  283. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +75 -5
  284. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
  285. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
  286. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  287. package/node_modules/@aws-sdk/client-s3/package.json +20 -20
  288. package/node_modules/@aws-sdk/client-sns/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  289. package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/bdd.js +2 -5
  290. package/node_modules/@aws-sdk/client-sns/dist-cjs/endpoint/endpointResolver.js +7 -11
  291. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +174 -194
  292. package/node_modules/@aws-sdk/client-sns/dist-cjs/models/SNSServiceException.js +4 -8
  293. package/node_modules/@aws-sdk/client-sns/dist-cjs/models/errors.js +69 -106
  294. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.browser.js +22 -26
  295. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.js +30 -34
  296. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.native.js +4 -7
  297. package/node_modules/@aws-sdk/client-sns/dist-cjs/runtimeConfig.shared.js +20 -24
  298. package/node_modules/@aws-sdk/client-sns/dist-cjs/schemas/schemas_0.js +331 -218
  299. package/node_modules/@aws-sdk/client-sns/package.json +9 -9
  300. package/node_modules/@aws-sdk/client-sqs/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  301. package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/bdd.js +2 -5
  302. package/node_modules/@aws-sdk/client-sqs/dist-cjs/endpoint/endpointResolver.js +7 -11
  303. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +118 -138
  304. package/node_modules/@aws-sdk/client-sqs/dist-cjs/models/SQSServiceException.js +4 -8
  305. package/node_modules/@aws-sdk/client-sqs/dist-cjs/models/errors.js +57 -88
  306. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.browser.js +24 -28
  307. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.js +31 -35
  308. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.native.js +4 -7
  309. package/node_modules/@aws-sdk/client-sqs/dist-cjs/runtimeConfig.shared.js +20 -24
  310. package/node_modules/@aws-sdk/client-sqs/dist-cjs/schemas/schemas_0.js +222 -150
  311. package/node_modules/@aws-sdk/client-sqs/package.json +15 -15
  312. package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  313. package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/bdd.js +2 -5
  314. package/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +7 -11
  315. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +543 -563
  316. package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js +4 -8
  317. package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/errors.js +279 -423
  318. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +22 -26
  319. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +30 -34
  320. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.native.js +4 -7
  321. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +20 -24
  322. package/node_modules/@aws-sdk/client-ssm/dist-cjs/schemas/schemas_0.js +1693 -1109
  323. package/node_modules/@aws-sdk/client-ssm/package.json +9 -9
  324. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
  325. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  326. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +297 -23
  327. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +327 -52
  328. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +297 -23
  329. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  330. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  331. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  332. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
  333. package/node_modules/@aws-sdk/core/package.json +8 -8
  334. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  335. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  336. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
  337. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
  338. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
  339. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
  340. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
  341. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
  342. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
  343. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  344. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  345. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  346. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  347. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  348. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  349. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  350. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  351. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  352. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  353. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  354. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
  355. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  356. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  357. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
  358. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
  359. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
  360. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  361. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +18 -23
  362. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +5 -5
  363. package/node_modules/@aws-sdk/middleware-sdk-ec2/dist-cjs/index.js +11 -13
  364. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  365. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +1 -518
  366. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.browser.js +31 -33
  367. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +37 -39
  368. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +14 -16
  369. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -1
  370. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +2 -2
  371. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +2 -2
  372. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +9 -11
  373. package/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js +9 -11
  374. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
  375. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  376. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  377. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  378. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  379. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  380. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  381. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  382. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  383. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  384. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  385. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  386. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
  387. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  388. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
  389. package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
  390. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  391. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  392. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  393. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  394. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  395. package/node_modules/@aws-sdk/types/package.json +4 -4
  396. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  397. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  398. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
  399. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
  400. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
  401. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
  402. package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/package.json +5 -4
  403. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  404. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
  405. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
  406. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +10 -2
  407. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  408. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  409. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  410. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  411. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -2
  412. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  413. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  414. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
  415. package/node_modules/@smithy/core/package.json +1 -1
  416. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  417. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  418. package/node_modules/@smithy/middleware-compression/package.json +2 -2
  419. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  420. package/node_modules/@smithy/signature-v4/package.json +2 -2
  421. package/node_modules/anynum/package.json +2 -2
  422. package/node_modules/path-expression-matcher/README.md +82 -7
  423. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  424. package/node_modules/path-expression-matcher/lib/pem.d.cts +83 -2
  425. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  426. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  427. package/node_modules/path-expression-matcher/package.json +3 -2
  428. package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
  429. package/node_modules/path-expression-matcher/src/Matcher.js +93 -3
  430. package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
  431. package/package.json +10 -10
  432. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
  433. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.browser.js +0 -34
  434. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.browser.js +0 -1
  435. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.browser.d.ts +0 -2
  436. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.browser.d.ts +0 -39
@@ -1,15 +1,23 @@
1
- 'use strict';
2
-
3
- var retry = require('@smithy/core/retry');
4
- var protocols = require('@smithy/core/protocols');
5
- var lambdaInvokeStore = require('@aws/lambda-invoke-store');
6
- var core = require('@smithy/core');
7
- var node_os = require('node:os');
8
- var node_process = require('node:process');
9
- var config = require('@smithy/core/config');
10
- var promises = require('node:fs/promises');
11
- var node_path = require('node:path');
12
- var endpoints = require('@smithy/core/endpoints');
1
+ const { Retry, RETRY_MODES } = require("@smithy/core/retry");
2
+ const { HttpRequest, parseUrl } = require("@smithy/core/protocols");
3
+ const { InvokeStore } = require("@aws/lambda-invoke-store");
4
+ const { normalizeProvider } = require("@smithy/core");
5
+ const { platform, release } = require("node:os");
6
+ const { versions, env } = require("node:process");
7
+ const { booleanSelector, SelectorType, loadConfig, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS } = require("@smithy/core/config");
8
+ const { REGION_ENV_NAME, REGION_INI_NAME, resolveRegionConfig } = require("@smithy/core/config");
9
+ exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS;
10
+ exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS;
11
+ exports.REGION_ENV_NAME = REGION_ENV_NAME;
12
+ exports.REGION_INI_NAME = REGION_INI_NAME;
13
+ exports.resolveRegionConfig = resolveRegionConfig;
14
+ const { readFile } = require("node:fs/promises");
15
+ const { normalize, sep, join } = require("node:path");
16
+ const { isValidHostLabel, isIpAddress, customEndpointFunctions } = require("@smithy/core/endpoints");
17
+ const { EndpointError, resolveEndpoint } = require("@smithy/core/endpoints");
18
+ exports.EndpointError = EndpointError;
19
+ exports.isIpAddress = isIpAddress;
20
+ exports.resolveEndpoint = resolveEndpoint;
13
21
 
14
22
  const state = {
15
23
  warningEmitted: false,
@@ -60,7 +68,7 @@ function setCredentialFeature(credentials, feature, value) {
60
68
  return credentials;
61
69
  }
62
70
 
63
- retry.Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
71
+ Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
64
72
  function setFeature(context, feature, value) {
65
73
  if (!context.__aws_sdk_context) {
66
74
  context.__aws_sdk_context = {
@@ -85,7 +93,7 @@ function resolveHostHeaderConfig(input) {
85
93
  return input;
86
94
  }
87
95
  const hostHeaderMiddleware = (options) => (next) => async (args) => {
88
- if (!protocols.HttpRequest.isInstance(args.request))
96
+ if (!HttpRequest.isInstance(args.request))
89
97
  return next(args);
90
98
  const { request } = args;
91
99
  const { handlerProtocol = "" } = options.requestHandler.metadata || {};
@@ -170,7 +178,7 @@ const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
170
178
  const ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
171
179
  const recursionDetectionMiddleware = () => (next) => async (args) => {
172
180
  const { request } = args;
173
- if (!protocols.HttpRequest.isInstance(request)) {
181
+ if (!HttpRequest.isInstance(request)) {
174
182
  return next(args);
175
183
  }
176
184
  const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ??
@@ -180,7 +188,7 @@ const recursionDetectionMiddleware = () => (next) => async (args) => {
180
188
  }
181
189
  const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];
182
190
  const traceIdFromEnv = process.env[ENV_TRACE_ID];
183
- const invokeStore = await lambdaInvokeStore.InvokeStore.getInstanceAsync();
191
+ const invokeStore = await InvokeStore.getInstanceAsync();
184
192
  const traceIdFromInvokeStore = invokeStore?.getXRayTraceId();
185
193
  const traceId = traceIdFromInvokeStore ?? traceIdFromEnv;
186
194
  const nonEmptyString = (str) => typeof str === "string" && str.length > 0;
@@ -207,7 +215,7 @@ function isValidUserAgentAppId(appId) {
207
215
  return typeof appId === "string" && appId.length <= 50;
208
216
  }
209
217
  function resolveUserAgentConfig(input) {
210
- const normalizedAppIdProvider = core.normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
218
+ const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
211
219
  const { customUserAgent } = input;
212
220
  return Object.assign(input, {
213
221
  customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
@@ -227,7 +235,282 @@ function resolveUserAgentConfig(input) {
227
235
  });
228
236
  }
229
237
 
230
- const partitionsInfo = { "partitions": [{ "id": "aws", "outputs": { "dnsSuffix": "amazonaws.com", "dualStackDnsSuffix": "api.aws", "implicitGlobalRegion": "us-east-1", "name": "aws", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", "regions": { "af-south-1": { "description": "Africa (Cape Town)" }, "ap-east-1": { "description": "Asia Pacific (Hong Kong)" }, "ap-east-2": { "description": "Asia Pacific (Taipei)" }, "ap-northeast-1": { "description": "Asia Pacific (Tokyo)" }, "ap-northeast-2": { "description": "Asia Pacific (Seoul)" }, "ap-northeast-3": { "description": "Asia Pacific (Osaka)" }, "ap-south-1": { "description": "Asia Pacific (Mumbai)" }, "ap-south-2": { "description": "Asia Pacific (Hyderabad)" }, "ap-southeast-1": { "description": "Asia Pacific (Singapore)" }, "ap-southeast-2": { "description": "Asia Pacific (Sydney)" }, "ap-southeast-3": { "description": "Asia Pacific (Jakarta)" }, "ap-southeast-4": { "description": "Asia Pacific (Melbourne)" }, "ap-southeast-5": { "description": "Asia Pacific (Malaysia)" }, "ap-southeast-6": { "description": "Asia Pacific (New Zealand)" }, "ap-southeast-7": { "description": "Asia Pacific (Thailand)" }, "aws-global": { "description": "aws global region" }, "ca-central-1": { "description": "Canada (Central)" }, "ca-west-1": { "description": "Canada West (Calgary)" }, "eu-central-1": { "description": "Europe (Frankfurt)" }, "eu-central-2": { "description": "Europe (Zurich)" }, "eu-north-1": { "description": "Europe (Stockholm)" }, "eu-south-1": { "description": "Europe (Milan)" }, "eu-south-2": { "description": "Europe (Spain)" }, "eu-west-1": { "description": "Europe (Ireland)" }, "eu-west-2": { "description": "Europe (London)" }, "eu-west-3": { "description": "Europe (Paris)" }, "il-central-1": { "description": "Israel (Tel Aviv)" }, "me-central-1": { "description": "Middle East (UAE)" }, "me-south-1": { "description": "Middle East (Bahrain)" }, "mx-central-1": { "description": "Mexico (Central)" }, "sa-east-1": { "description": "South America (Sao Paulo)" }, "us-east-1": { "description": "US East (N. Virginia)" }, "us-east-2": { "description": "US East (Ohio)" }, "us-west-1": { "description": "US West (N. California)" }, "us-west-2": { "description": "US West (Oregon)" } } }, { "id": "aws-cn", "outputs": { "dnsSuffix": "amazonaws.com.cn", "dualStackDnsSuffix": "api.amazonwebservices.com.cn", "implicitGlobalRegion": "cn-northwest-1", "name": "aws-cn", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^cn\\-\\w+\\-\\d+$", "regions": { "aws-cn-global": { "description": "aws-cn global region" }, "cn-north-1": { "description": "China (Beijing)" }, "cn-northwest-1": { "description": "China (Ningxia)" } } }, { "id": "aws-eusc", "outputs": { "dnsSuffix": "amazonaws.eu", "dualStackDnsSuffix": "api.amazonwebservices.eu", "implicitGlobalRegion": "eusc-de-east-1", "name": "aws-eusc", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$", "regions": { "eusc-de-east-1": { "description": "AWS European Sovereign Cloud (Germany)" } } }, { "id": "aws-iso", "outputs": { "dnsSuffix": "c2s.ic.gov", "dualStackDnsSuffix": "api.aws.ic.gov", "implicitGlobalRegion": "us-iso-east-1", "name": "aws-iso", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$", "regions": { "aws-iso-global": { "description": "aws-iso global region" }, "us-iso-east-1": { "description": "US ISO East" }, "us-iso-west-1": { "description": "US ISO WEST" } } }, { "id": "aws-iso-b", "outputs": { "dnsSuffix": "sc2s.sgov.gov", "dualStackDnsSuffix": "api.aws.scloud", "implicitGlobalRegion": "us-isob-east-1", "name": "aws-iso-b", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$", "regions": { "aws-iso-b-global": { "description": "aws-iso-b global region" }, "us-isob-east-1": { "description": "US ISOB East (Ohio)" }, "us-isob-west-1": { "description": "US ISOB West" } } }, { "id": "aws-iso-e", "outputs": { "dnsSuffix": "cloud.adc-e.uk", "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk", "implicitGlobalRegion": "eu-isoe-west-1", "name": "aws-iso-e", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$", "regions": { "aws-iso-e-global": { "description": "aws-iso-e global region" }, "eu-isoe-west-1": { "description": "EU ISOE West" } } }, { "id": "aws-iso-f", "outputs": { "dnsSuffix": "csp.hci.ic.gov", "dualStackDnsSuffix": "api.aws.hci.ic.gov", "implicitGlobalRegion": "us-isof-south-1", "name": "aws-iso-f", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$", "regions": { "aws-iso-f-global": { "description": "aws-iso-f global region" }, "us-isof-east-1": { "description": "US ISOF EAST" }, "us-isof-south-1": { "description": "US ISOF SOUTH" } } }, { "id": "aws-us-gov", "outputs": { "dnsSuffix": "amazonaws.com", "dualStackDnsSuffix": "api.aws", "implicitGlobalRegion": "us-gov-west-1", "name": "aws-us-gov", "supportsDualStack": true, "supportsFIPS": true }, "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$", "regions": { "aws-us-gov-global": { "description": "aws-us-gov global region" }, "us-gov-east-1": { "description": "AWS GovCloud (US-East)" }, "us-gov-west-1": { "description": "AWS GovCloud (US-West)" } } }], "version": "1.1" };
238
+ const partitionsInfo = {
239
+ "partitions": [
240
+ {
241
+ "id": "aws",
242
+ "outputs": {
243
+ "dnsSuffix": "amazonaws.com",
244
+ "dualStackDnsSuffix": "api.aws",
245
+ "implicitGlobalRegion": "us-east-1",
246
+ "name": "aws",
247
+ "supportsDualStack": true,
248
+ "supportsFIPS": true
249
+ },
250
+ "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
251
+ "regions": {
252
+ "af-south-1": {
253
+ "description": "Africa (Cape Town)"
254
+ },
255
+ "ap-east-1": {
256
+ "description": "Asia Pacific (Hong Kong)"
257
+ },
258
+ "ap-east-2": {
259
+ "description": "Asia Pacific (Taipei)"
260
+ },
261
+ "ap-northeast-1": {
262
+ "description": "Asia Pacific (Tokyo)"
263
+ },
264
+ "ap-northeast-2": {
265
+ "description": "Asia Pacific (Seoul)"
266
+ },
267
+ "ap-northeast-3": {
268
+ "description": "Asia Pacific (Osaka)"
269
+ },
270
+ "ap-south-1": {
271
+ "description": "Asia Pacific (Mumbai)"
272
+ },
273
+ "ap-south-2": {
274
+ "description": "Asia Pacific (Hyderabad)"
275
+ },
276
+ "ap-southeast-1": {
277
+ "description": "Asia Pacific (Singapore)"
278
+ },
279
+ "ap-southeast-2": {
280
+ "description": "Asia Pacific (Sydney)"
281
+ },
282
+ "ap-southeast-3": {
283
+ "description": "Asia Pacific (Jakarta)"
284
+ },
285
+ "ap-southeast-4": {
286
+ "description": "Asia Pacific (Melbourne)"
287
+ },
288
+ "ap-southeast-5": {
289
+ "description": "Asia Pacific (Malaysia)"
290
+ },
291
+ "ap-southeast-6": {
292
+ "description": "Asia Pacific (New Zealand)"
293
+ },
294
+ "ap-southeast-7": {
295
+ "description": "Asia Pacific (Thailand)"
296
+ },
297
+ "aws-global": {
298
+ "description": "aws global region"
299
+ },
300
+ "ca-central-1": {
301
+ "description": "Canada (Central)"
302
+ },
303
+ "ca-west-1": {
304
+ "description": "Canada West (Calgary)"
305
+ },
306
+ "eu-central-1": {
307
+ "description": "Europe (Frankfurt)"
308
+ },
309
+ "eu-central-2": {
310
+ "description": "Europe (Zurich)"
311
+ },
312
+ "eu-north-1": {
313
+ "description": "Europe (Stockholm)"
314
+ },
315
+ "eu-south-1": {
316
+ "description": "Europe (Milan)"
317
+ },
318
+ "eu-south-2": {
319
+ "description": "Europe (Spain)"
320
+ },
321
+ "eu-west-1": {
322
+ "description": "Europe (Ireland)"
323
+ },
324
+ "eu-west-2": {
325
+ "description": "Europe (London)"
326
+ },
327
+ "eu-west-3": {
328
+ "description": "Europe (Paris)"
329
+ },
330
+ "il-central-1": {
331
+ "description": "Israel (Tel Aviv)"
332
+ },
333
+ "me-central-1": {
334
+ "description": "Middle East (UAE)"
335
+ },
336
+ "me-south-1": {
337
+ "description": "Middle East (Bahrain)"
338
+ },
339
+ "mx-central-1": {
340
+ "description": "Mexico (Central)"
341
+ },
342
+ "sa-east-1": {
343
+ "description": "South America (Sao Paulo)"
344
+ },
345
+ "us-east-1": {
346
+ "description": "US East (N. Virginia)"
347
+ },
348
+ "us-east-2": {
349
+ "description": "US East (Ohio)"
350
+ },
351
+ "us-west-1": {
352
+ "description": "US West (N. California)"
353
+ },
354
+ "us-west-2": {
355
+ "description": "US West (Oregon)"
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "id": "aws-cn",
361
+ "outputs": {
362
+ "dnsSuffix": "amazonaws.com.cn",
363
+ "dualStackDnsSuffix": "api.amazonwebservices.com.cn",
364
+ "implicitGlobalRegion": "cn-northwest-1",
365
+ "name": "aws-cn",
366
+ "supportsDualStack": true,
367
+ "supportsFIPS": true
368
+ },
369
+ "regionRegex": "^cn\\-\\w+\\-\\d+$",
370
+ "regions": {
371
+ "aws-cn-global": {
372
+ "description": "aws-cn global region"
373
+ },
374
+ "cn-north-1": {
375
+ "description": "China (Beijing)"
376
+ },
377
+ "cn-northwest-1": {
378
+ "description": "China (Ningxia)"
379
+ }
380
+ }
381
+ },
382
+ {
383
+ "id": "aws-eusc",
384
+ "outputs": {
385
+ "dnsSuffix": "amazonaws.eu",
386
+ "dualStackDnsSuffix": "api.amazonwebservices.eu",
387
+ "implicitGlobalRegion": "eusc-de-east-1",
388
+ "name": "aws-eusc",
389
+ "supportsDualStack": true,
390
+ "supportsFIPS": true
391
+ },
392
+ "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$",
393
+ "regions": {
394
+ "eusc-de-east-1": {
395
+ "description": "AWS European Sovereign Cloud (Germany)"
396
+ }
397
+ }
398
+ },
399
+ {
400
+ "id": "aws-iso",
401
+ "outputs": {
402
+ "dnsSuffix": "c2s.ic.gov",
403
+ "dualStackDnsSuffix": "api.aws.ic.gov",
404
+ "implicitGlobalRegion": "us-iso-east-1",
405
+ "name": "aws-iso",
406
+ "supportsDualStack": true,
407
+ "supportsFIPS": true
408
+ },
409
+ "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
410
+ "regions": {
411
+ "aws-iso-global": {
412
+ "description": "aws-iso global region"
413
+ },
414
+ "us-iso-east-1": {
415
+ "description": "US ISO East"
416
+ },
417
+ "us-iso-west-1": {
418
+ "description": "US ISO WEST"
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "id": "aws-iso-b",
424
+ "outputs": {
425
+ "dnsSuffix": "sc2s.sgov.gov",
426
+ "dualStackDnsSuffix": "api.aws.scloud",
427
+ "implicitGlobalRegion": "us-isob-east-1",
428
+ "name": "aws-iso-b",
429
+ "supportsDualStack": true,
430
+ "supportsFIPS": true
431
+ },
432
+ "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
433
+ "regions": {
434
+ "aws-iso-b-global": {
435
+ "description": "aws-iso-b global region"
436
+ },
437
+ "us-isob-east-1": {
438
+ "description": "US ISOB East (Ohio)"
439
+ },
440
+ "us-isob-west-1": {
441
+ "description": "US ISOB West"
442
+ }
443
+ }
444
+ },
445
+ {
446
+ "id": "aws-iso-e",
447
+ "outputs": {
448
+ "dnsSuffix": "cloud.adc-e.uk",
449
+ "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk",
450
+ "implicitGlobalRegion": "eu-isoe-west-1",
451
+ "name": "aws-iso-e",
452
+ "supportsDualStack": true,
453
+ "supportsFIPS": true
454
+ },
455
+ "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
456
+ "regions": {
457
+ "aws-iso-e-global": {
458
+ "description": "aws-iso-e global region"
459
+ },
460
+ "eu-isoe-west-1": {
461
+ "description": "EU ISOE West"
462
+ }
463
+ }
464
+ },
465
+ {
466
+ "id": "aws-iso-f",
467
+ "outputs": {
468
+ "dnsSuffix": "csp.hci.ic.gov",
469
+ "dualStackDnsSuffix": "api.aws.hci.ic.gov",
470
+ "implicitGlobalRegion": "us-isof-south-1",
471
+ "name": "aws-iso-f",
472
+ "supportsDualStack": true,
473
+ "supportsFIPS": true
474
+ },
475
+ "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
476
+ "regions": {
477
+ "aws-iso-f-global": {
478
+ "description": "aws-iso-f global region"
479
+ },
480
+ "us-isof-east-1": {
481
+ "description": "US ISOF EAST"
482
+ },
483
+ "us-isof-south-1": {
484
+ "description": "US ISOF SOUTH"
485
+ }
486
+ }
487
+ },
488
+ {
489
+ "id": "aws-us-gov",
490
+ "outputs": {
491
+ "dnsSuffix": "amazonaws.com",
492
+ "dualStackDnsSuffix": "api.aws",
493
+ "implicitGlobalRegion": "us-gov-west-1",
494
+ "name": "aws-us-gov",
495
+ "supportsDualStack": true,
496
+ "supportsFIPS": true
497
+ },
498
+ "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
499
+ "regions": {
500
+ "aws-us-gov-global": {
501
+ "description": "aws-us-gov global region"
502
+ },
503
+ "us-gov-east-1": {
504
+ "description": "AWS GovCloud (US-East)"
505
+ },
506
+ "us-gov-west-1": {
507
+ "description": "AWS GovCloud (US-West)"
508
+ }
509
+ }
510
+ }
511
+ ],
512
+ "version": "1.1"
513
+ };
231
514
 
232
515
  let selectedPartitionsInfo = partitionsInfo;
233
516
  let selectedUserAgentPrefix = "";
@@ -280,10 +563,10 @@ async function checkFeatures(context, config, args) {
280
563
  const retryStrategy = await config.retryStrategy();
281
564
  if (typeof retryStrategy.mode === "string") {
282
565
  switch (retryStrategy.mode) {
283
- case retry.RETRY_MODES.ADAPTIVE:
566
+ case RETRY_MODES.ADAPTIVE:
284
567
  setFeature(context, "RETRY_MODE_ADAPTIVE", "F");
285
568
  break;
286
- case retry.RETRY_MODES.STANDARD:
569
+ case RETRY_MODES.STANDARD:
287
570
  setFeature(context, "RETRY_MODE_STANDARD", "E");
288
571
  break;
289
572
  }
@@ -347,7 +630,7 @@ function encodeFeatures(features) {
347
630
 
348
631
  const userAgentMiddleware = (options) => (next, context) => async (args) => {
349
632
  const { request } = args;
350
- if (!protocols.HttpRequest.isInstance(request)) {
633
+ if (!HttpRequest.isInstance(request)) {
351
634
  return next(args);
352
635
  }
353
636
  const { headers } = request;
@@ -426,11 +709,11 @@ const getUserAgentPlugin = (config) => ({
426
709
  const getRuntimeUserAgentPair = () => {
427
710
  const runtimesToCheck = ["deno", "bun", "llrt"];
428
711
  for (const runtime of runtimesToCheck) {
429
- if (node_process.versions[runtime]) {
430
- return [`md/${runtime}`, node_process.versions[runtime]];
712
+ if (versions[runtime]) {
713
+ return [`md/${runtime}`, versions[runtime]];
431
714
  }
432
715
  }
433
- return ["md/nodejs", node_process.versions.node];
716
+ return ["md/nodejs", versions.node];
434
717
  };
435
718
 
436
719
  const getNodeModulesParentDirs = (dirname) => {
@@ -438,10 +721,10 @@ const getNodeModulesParentDirs = (dirname) => {
438
721
  if (!dirname) {
439
722
  return [cwd];
440
723
  }
441
- const normalizedPath = node_path.normalize(dirname);
442
- const parts = normalizedPath.split(node_path.sep);
724
+ const normalizedPath = normalize(dirname);
725
+ const parts = normalizedPath.split(sep);
443
726
  const nodeModulesIndex = parts.indexOf("node_modules");
444
- const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath;
727
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(sep) : normalizedPath;
445
728
  if (cwd === parentDir) {
446
729
  return [cwd];
447
730
  }
@@ -473,7 +756,7 @@ const getSanitizedDevTypeScriptVersion = (version = "") => {
473
756
  };
474
757
 
475
758
  let tscVersion;
476
- const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json");
759
+ const TS_PACKAGE_JSON = join("node_modules", "typescript", "package.json");
477
760
  const getTypeScriptUserAgentPair = async () => {
478
761
  if (tscVersion === null) {
479
762
  return undefined;
@@ -484,7 +767,7 @@ const getTypeScriptUserAgentPair = async () => {
484
767
  let isTypeScriptDetectionDisabled = false;
485
768
  try {
486
769
  isTypeScriptDetectionDisabled =
487
- config.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", config.SelectorType.ENV) || false;
770
+ booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", SelectorType.ENV) || false;
488
771
  }
489
772
  catch { }
490
773
  if (isTypeScriptDetectionDisabled) {
@@ -496,8 +779,8 @@ const getTypeScriptUserAgentPair = async () => {
496
779
  let versionFromApp;
497
780
  for (const nodeModulesParentDir of nodeModulesParentDirs) {
498
781
  try {
499
- const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json");
500
- const packageJson = await promises.readFile(appPackageJsonPath, "utf-8");
782
+ const appPackageJsonPath = join(nodeModulesParentDir, "package.json");
783
+ const packageJson = await readFile(appPackageJsonPath, "utf-8");
501
784
  const { dependencies, devDependencies } = JSON.parse(packageJson);
502
785
  const version = devDependencies?.typescript ?? dependencies?.typescript;
503
786
  if (typeof version !== "string") {
@@ -516,8 +799,8 @@ const getTypeScriptUserAgentPair = async () => {
516
799
  let versionFromNodeModules;
517
800
  for (const nodeModulesParentDir of nodeModulesParentDirs) {
518
801
  try {
519
- const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON);
520
- const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8");
802
+ const tsPackageJsonPath = join(nodeModulesParentDir, TS_PACKAGE_JSON);
803
+ const packageJson = await readFile(tsPackageJsonPath, "utf-8");
521
804
  const { version } = JSON.parse(packageJson);
522
805
  const sanitizedVersion = getSanitizedTypeScriptVersion(version);
523
806
  if (typeof sanitizedVersion !== "string") {
@@ -559,7 +842,7 @@ const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
559
842
  const sections = [
560
843
  ["aws-sdk-js", clientVersion],
561
844
  ["ua", "2.1"],
562
- [`os/${node_os.platform()}`, node_os.release()],
845
+ [`os/${platform()}`, release()],
563
846
  ["lang/js"],
564
847
  runtimeUserAgentPair,
565
848
  ];
@@ -574,8 +857,8 @@ const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
574
857
  if (serviceId) {
575
858
  sections.push([`api/${serviceId}`, clientVersion]);
576
859
  }
577
- if (node_process.env.AWS_EXECUTION_ENV) {
578
- sections.push([`exec-env/${node_process.env.AWS_EXECUTION_ENV}`]);
860
+ if (env.AWS_EXECUTION_ENV) {
861
+ sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]);
579
862
  }
580
863
  const appId = await config?.userAgentAppId?.();
581
864
  const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
@@ -594,7 +877,7 @@ const NODE_APP_ID_CONFIG_OPTIONS = {
594
877
  };
595
878
 
596
879
  const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => {
597
- const module = await import('bowser');
880
+ const module = require('bowser');
598
881
  const parse = module.parse ?? module.default.parse ?? (() => "");
599
882
  const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined;
600
883
  const sections = [
@@ -650,7 +933,7 @@ const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
650
933
  }
651
934
  return true;
652
935
  }
653
- if (!endpoints.isValidHostLabel(value)) {
936
+ if (!isValidHostLabel(value)) {
654
937
  return false;
655
938
  }
656
939
  if (value.length < 3 || value.length > 63) {
@@ -659,7 +942,7 @@ const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
659
942
  if (value !== value.toLowerCase()) {
660
943
  return false;
661
944
  }
662
- if (endpoints.isIpAddress(value)) {
945
+ if (isIpAddress(value)) {
663
946
  return false;
664
947
  }
665
948
  return true;
@@ -689,7 +972,7 @@ const awsEndpointFunctions = {
689
972
  parseArn: parseArn,
690
973
  partition: partition,
691
974
  };
692
- endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
975
+ customEndpointFunctions.aws = awsEndpointFunctions;
693
976
 
694
977
  const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
695
978
  if (typeof input.endpointProvider !== "function") {
@@ -710,18 +993,18 @@ const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
710
993
  }
711
994
  return input;
712
995
  };
713
- const toEndpointV1 = (endpoint) => protocols.parseUrl(endpoint.url);
996
+ const toEndpointV1 = (endpoint) => parseUrl(endpoint.url);
714
997
 
715
998
  function stsRegionDefaultResolver(loaderConfig = {}) {
716
- return config.loadConfig({
717
- ...config.NODE_REGION_CONFIG_OPTIONS,
999
+ return loadConfig({
1000
+ ...NODE_REGION_CONFIG_OPTIONS,
718
1001
  async default() {
719
1002
  if (!warning.silence) {
720
1003
  console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");
721
1004
  }
722
1005
  return "us-east-1";
723
1006
  },
724
- }, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig });
1007
+ }, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig });
725
1008
  }
726
1009
  const warning = {
727
1010
  silence: false,
@@ -743,14 +1026,6 @@ const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration)
743
1026
  };
744
1027
  };
745
1028
 
746
- exports.NODE_REGION_CONFIG_FILE_OPTIONS = config.NODE_REGION_CONFIG_FILE_OPTIONS;
747
- exports.NODE_REGION_CONFIG_OPTIONS = config.NODE_REGION_CONFIG_OPTIONS;
748
- exports.REGION_ENV_NAME = config.REGION_ENV_NAME;
749
- exports.REGION_INI_NAME = config.REGION_INI_NAME;
750
- exports.resolveRegionConfig = config.resolveRegionConfig;
751
- exports.EndpointError = endpoints.EndpointError;
752
- exports.isIpAddress = endpoints.isIpAddress;
753
- exports.resolveEndpoint = endpoints.resolveEndpoint;
754
1029
  exports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID;
755
1030
  exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS;
756
1031
  exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME;