@cdklabs/cdk-ecs-codedeploy 0.0.236 → 0.0.237

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 (342) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeploy.js +1 -105
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/CodeDeployClient.js +1 -43
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +1 -28
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +1 -28
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +1 -28
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +1 -28
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +1 -28
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +1 -28
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +1 -28
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +1 -28
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +1 -28
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +1 -28
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +1 -28
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +1 -28
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +1 -28
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +1 -28
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +1 -28
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +1 -28
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +1 -28
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +1 -28
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +1 -28
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +1 -28
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +1 -28
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +1 -28
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +1 -28
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +1 -28
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +1 -28
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +1 -28
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +1 -28
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +1 -28
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +1 -28
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +1 -28
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +1 -28
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +1 -28
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +1 -28
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +1 -28
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +1 -28
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +1 -28
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +1 -28
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +1 -28
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +1 -28
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +1 -28
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +1 -28
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +1 -28
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +1 -28
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/index.js +1 -50
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/EndpointParameters.js +1 -18
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/extensionConfiguration.js +1 -2
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +7607 -12
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +1 -12
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/index.js +1 -4
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/models_0.js +1 -1657
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/Interfaces.js +1 -2
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +1 -7
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +1 -7
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +1 -7
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +1 -7
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +1 -7
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/index.js +1 -10
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1 -4159
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeExtensions.js +1 -22
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/index.js +1 -4
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/waiters/waitForDeploymentSuccessful.js +1 -54
  74. package/node_modules/@aws-sdk/client-codedeploy/package.json +41 -41
  75. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSO.js +1 -19
  76. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +1 -40
  77. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +1 -29
  78. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +1 -29
  79. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +1 -29
  80. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +1 -29
  81. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/index.js +1 -7
  82. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/EndpointParameters.js +1 -18
  83. package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +1 -2
  84. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +689 -11
  85. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +1 -12
  86. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/index.js +1 -4
  87. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/models_0.js +1 -88
  88. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/Interfaces.js +1 -2
  89. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -7
  90. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -7
  91. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/index.js +1 -6
  92. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +1 -346
  93. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +1 -22
  94. package/node_modules/@aws-sdk/client-sso/package.json +37 -37
  95. package/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js +1 -27
  96. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +1 -29
  97. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +1 -28
  98. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +1 -28
  99. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +1 -28
  100. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +1 -29
  101. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +1 -29
  102. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/index.js +1 -11
  103. package/node_modules/@aws-sdk/client-sts/dist-cjs/defaultRoleAssumers.js +1 -28
  104. package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +1 -2
  105. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +254 -11
  106. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/index.js +1 -4
  107. package/node_modules/@aws-sdk/client-sts/package.json +39 -39
  108. package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
  109. package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +1 -17
  110. package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +1 -4
  111. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -61
  112. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +1 -5
  113. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +1 -82
  114. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -4
  115. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +1 -6
  116. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -5
  117. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -12
  118. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +1 -6
  119. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +1 -6
  120. package/node_modules/@aws-sdk/core/dist-cjs/index.js +314 -6
  121. package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +1 -59
  122. package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +1 -5
  123. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +1 -14
  124. package/node_modules/@aws-sdk/core/package.json +7 -7
  125. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  126. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  127. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  128. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js +1 -27
  129. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +64 -4
  130. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  131. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js +1 -10
  132. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +173 -4
  133. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -52
  134. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js +1 -21
  135. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js +1 -11
  136. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js +1 -32
  137. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js +1 -17
  138. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js +1 -16
  139. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js +1 -17
  140. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  141. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js +1 -15
  142. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +71 -4
  143. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js +1 -18
  144. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  145. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js +1 -2
  146. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +1 -10
  147. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +1 -26
  148. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +94 -4
  149. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +1 -37
  150. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  151. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +1 -61
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +175 -7
  153. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +1 -10
  154. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -56
  155. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +1 -2
  156. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +1 -13
  157. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  158. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +25 -5
  159. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  160. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +63 -34
  161. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  162. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +77 -4
  163. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +1 -48
  164. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  165. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +62 -36
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  167. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +1 -108
  168. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +1 -62
  169. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +225 -5
  170. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js +1 -5
  171. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js +1 -12
  172. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/utils/isClockSkewed.js +1 -6
  173. package/node_modules/@aws-sdk/middleware-signing/package.json +8 -8
  174. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +1 -10
  175. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +1 -10
  176. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +120 -5
  177. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +1 -79
  178. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  179. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +1 -30
  180. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +113 -5
  181. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +1 -15
  182. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -10
  183. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +1 -5
  184. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -5
  185. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -29
  186. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  187. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +1 -5
  188. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +1 -82
  189. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +1 -11
  190. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +1 -15
  191. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +1 -14
  192. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +198 -7
  193. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +1 -9
  194. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +1 -11
  195. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +1 -11
  196. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +1 -12
  197. package/node_modules/@aws-sdk/token-providers/package.json +36 -36
  198. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +1 -2
  199. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +1 -5
  200. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +1 -2
  201. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +1 -2
  202. package/node_modules/@aws-sdk/types/dist-cjs/client.js +1 -2
  203. package/node_modules/@aws-sdk/types/dist-cjs/command.js +1 -2
  204. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +1 -2
  205. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +1 -2
  206. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +1 -2
  207. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +1 -8
  208. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +1 -2
  209. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +1 -5
  210. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +1 -2
  211. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +1 -2
  212. package/node_modules/@aws-sdk/types/dist-cjs/http.js +1 -2
  213. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +1 -2
  214. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +1 -2
  215. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +1 -2
  216. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +1 -2
  217. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +1 -2
  218. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +1 -8
  219. package/node_modules/@aws-sdk/types/dist-cjs/index.js +464 -35
  220. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +1 -2
  221. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +1 -2
  222. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +1 -2
  223. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +1 -2
  224. package/node_modules/@aws-sdk/types/dist-cjs/request.js +1 -2
  225. package/node_modules/@aws-sdk/types/dist-cjs/response.js +1 -2
  226. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +1 -2
  227. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +1 -2
  228. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +1 -2
  229. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +1 -2
  230. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +1 -2
  231. package/node_modules/@aws-sdk/types/dist-cjs/token.js +1 -2
  232. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +1 -5
  233. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +1 -2
  234. package/node_modules/@aws-sdk/types/dist-cjs/util.js +1 -2
  235. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +1 -2
  236. package/node_modules/@aws-sdk/types/package.json +3 -3
  237. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +1 -12
  238. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +422 -8
  239. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +1 -6
  240. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +1 -29
  241. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +1 -19
  242. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +1 -49
  243. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +1 -5
  244. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +1 -5
  245. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +1 -5
  246. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +1 -2
  247. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +1 -2
  248. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +1 -2
  249. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +1 -2
  250. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +1 -9
  251. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +1 -2
  252. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  253. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +37 -11
  254. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  255. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  256. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +1 -6
  257. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +91 -43
  258. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +1 -11
  259. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  260. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +2 -0
  261. package/node_modules/@smithy/abort-controller/package.json +2 -2
  262. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +2 -0
  263. package/node_modules/@smithy/config-resolver/package.json +5 -5
  264. package/node_modules/@smithy/core/dist-cjs/index.js +2 -0
  265. package/node_modules/@smithy/core/package.json +8 -8
  266. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +2 -0
  267. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  268. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +2 -0
  269. package/node_modules/@smithy/eventstream-codec/package.json +4 -4
  270. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -0
  271. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  272. package/node_modules/@smithy/hash-node/dist-cjs/index.js +2 -0
  273. package/node_modules/@smithy/hash-node/package.json +4 -4
  274. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +2 -0
  275. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  276. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +2 -0
  277. package/node_modules/@smithy/is-array-buffer/package.json +1 -1
  278. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -0
  279. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  280. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -0
  281. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  282. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +2 -0
  283. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  284. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +2 -0
  285. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  286. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +2 -0
  287. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  288. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +2 -0
  289. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  290. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -0
  291. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  292. package/node_modules/@smithy/property-provider/dist-cjs/index.js +2 -0
  293. package/node_modules/@smithy/property-provider/package.json +2 -2
  294. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +2 -0
  295. package/node_modules/@smithy/protocol-http/package.json +2 -2
  296. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +2 -0
  297. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  298. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +2 -0
  299. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  300. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -0
  301. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  302. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +5 -3
  303. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  304. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +2 -0
  305. package/node_modules/@smithy/signature-v4/package.json +9 -9
  306. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -0
  307. package/node_modules/@smithy/smithy-client/package.json +6 -6
  308. package/node_modules/@smithy/types/dist-cjs/index.js +2 -0
  309. package/node_modules/@smithy/types/package.json +1 -1
  310. package/node_modules/@smithy/url-parser/dist-cjs/index.js +2 -0
  311. package/node_modules/@smithy/url-parser/package.json +3 -3
  312. package/node_modules/@smithy/util-base64/dist-cjs/index.js +4 -2
  313. package/node_modules/@smithy/util-base64/package.json +2 -2
  314. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +2 -0
  315. package/node_modules/@smithy/util-body-length-browser/package.json +1 -1
  316. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +2 -0
  317. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  318. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +2 -0
  319. package/node_modules/@smithy/util-buffer-from/package.json +2 -2
  320. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -0
  321. package/node_modules/@smithy/util-config-provider/package.json +1 -1
  322. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +3 -1
  323. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  324. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -0
  325. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  326. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +2 -0
  327. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  328. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +2 -0
  329. package/node_modules/@smithy/util-hex-encoding/package.json +1 -1
  330. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +2 -0
  331. package/node_modules/@smithy/util-middleware/package.json +2 -2
  332. package/node_modules/@smithy/util-retry/dist-cjs/index.js +2 -0
  333. package/node_modules/@smithy/util-retry/package.json +3 -3
  334. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -2
  335. package/node_modules/@smithy/util-stream/package.json +9 -9
  336. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +2 -0
  337. package/node_modules/@smithy/util-uri-escape/package.json +1 -1
  338. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +2 -0
  339. package/node_modules/@smithy/util-utf8/package.json +2 -2
  340. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +2 -0
  341. package/node_modules/@smithy/util-waiter/package.json +3 -3
  342. package/package.json +5 -5
@@ -1,8 +1,422 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./aws"), exports);
5
- tslib_1.__exportStar(require("./lib/aws/partition"), exports);
6
- tslib_1.__exportStar(require("./lib/isIpAddress"), exports);
7
- tslib_1.__exportStar(require("./resolveEndpoint"), exports);
8
- tslib_1.__exportStar(require("./types"), exports);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ ConditionObject: () => import_util_endpoints.ConditionObject,
24
+ DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
25
+ EndpointError: () => import_util_endpoints.EndpointError,
26
+ EndpointObject: () => import_util_endpoints.EndpointObject,
27
+ EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders,
28
+ EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties,
29
+ EndpointParams: () => import_util_endpoints.EndpointParams,
30
+ EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions,
31
+ EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject,
32
+ ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject,
33
+ EvaluateOptions: () => import_util_endpoints.EvaluateOptions,
34
+ Expression: () => import_util_endpoints.Expression,
35
+ FunctionArgv: () => import_util_endpoints.FunctionArgv,
36
+ FunctionObject: () => import_util_endpoints.FunctionObject,
37
+ FunctionReturn: () => import_util_endpoints.FunctionReturn,
38
+ ParameterObject: () => import_util_endpoints.ParameterObject,
39
+ ReferenceObject: () => import_util_endpoints.ReferenceObject,
40
+ ReferenceRecord: () => import_util_endpoints.ReferenceRecord,
41
+ RuleSetObject: () => import_util_endpoints.RuleSetObject,
42
+ RuleSetRules: () => import_util_endpoints.RuleSetRules,
43
+ TreeRuleObject: () => import_util_endpoints.TreeRuleObject,
44
+ getUserAgentPrefix: () => getUserAgentPrefix,
45
+ isIpAddress: () => import_util_endpoints.isIpAddress,
46
+ partition: () => partition,
47
+ resolveEndpoint: () => import_util_endpoints.resolveEndpoint,
48
+ setPartitionInfo: () => setPartitionInfo,
49
+ useDefaultPartitionInfo: () => useDefaultPartitionInfo
50
+ });
51
+ module.exports = __toCommonJS(src_exports);
52
+
53
+ // src/aws.ts
54
+
55
+
56
+ // src/lib/aws/isVirtualHostableS3Bucket.ts
57
+
58
+
59
+ // src/lib/isIpAddress.ts
60
+ var import_util_endpoints = require("@smithy/util-endpoints");
61
+
62
+ // src/lib/aws/isVirtualHostableS3Bucket.ts
63
+ var isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => {
64
+ if (allowSubDomains) {
65
+ for (const label of value.split(".")) {
66
+ if (!isVirtualHostableS3Bucket(label)) {
67
+ return false;
68
+ }
69
+ }
70
+ return true;
71
+ }
72
+ if (!(0, import_util_endpoints.isValidHostLabel)(value)) {
73
+ return false;
74
+ }
75
+ if (value.length < 3 || value.length > 63) {
76
+ return false;
77
+ }
78
+ if (value !== value.toLowerCase()) {
79
+ return false;
80
+ }
81
+ if ((0, import_util_endpoints.isIpAddress)(value)) {
82
+ return false;
83
+ }
84
+ return true;
85
+ }, "isVirtualHostableS3Bucket");
86
+
87
+ // src/lib/aws/parseArn.ts
88
+ var parseArn = /* @__PURE__ */ __name((value) => {
89
+ const segments = value.split(":");
90
+ if (segments.length < 6)
91
+ return null;
92
+ const [arn, partition2, service, region, accountId, ...resourceId] = segments;
93
+ if (arn !== "arn" || partition2 === "" || service === "" || resourceId[0] === "")
94
+ return null;
95
+ return {
96
+ partition: partition2,
97
+ service,
98
+ region,
99
+ accountId,
100
+ resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId
101
+ };
102
+ }, "parseArn");
103
+
104
+ // src/lib/aws/partitions.json
105
+ var partitions_default = {
106
+ partitions: [{
107
+ id: "aws",
108
+ outputs: {
109
+ dnsSuffix: "amazonaws.com",
110
+ dualStackDnsSuffix: "api.aws",
111
+ implicitGlobalRegion: "us-east-1",
112
+ name: "aws",
113
+ supportsDualStack: true,
114
+ supportsFIPS: true
115
+ },
116
+ regionRegex: "^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",
117
+ regions: {
118
+ "af-south-1": {
119
+ description: "Africa (Cape Town)"
120
+ },
121
+ "ap-east-1": {
122
+ description: "Asia Pacific (Hong Kong)"
123
+ },
124
+ "ap-northeast-1": {
125
+ description: "Asia Pacific (Tokyo)"
126
+ },
127
+ "ap-northeast-2": {
128
+ description: "Asia Pacific (Seoul)"
129
+ },
130
+ "ap-northeast-3": {
131
+ description: "Asia Pacific (Osaka)"
132
+ },
133
+ "ap-south-1": {
134
+ description: "Asia Pacific (Mumbai)"
135
+ },
136
+ "ap-south-2": {
137
+ description: "Asia Pacific (Hyderabad)"
138
+ },
139
+ "ap-southeast-1": {
140
+ description: "Asia Pacific (Singapore)"
141
+ },
142
+ "ap-southeast-2": {
143
+ description: "Asia Pacific (Sydney)"
144
+ },
145
+ "ap-southeast-3": {
146
+ description: "Asia Pacific (Jakarta)"
147
+ },
148
+ "ap-southeast-4": {
149
+ description: "Asia Pacific (Melbourne)"
150
+ },
151
+ "aws-global": {
152
+ description: "AWS Standard global region"
153
+ },
154
+ "ca-central-1": {
155
+ description: "Canada (Central)"
156
+ },
157
+ "ca-west-1": {
158
+ description: "Canada West (Calgary)"
159
+ },
160
+ "eu-central-1": {
161
+ description: "Europe (Frankfurt)"
162
+ },
163
+ "eu-central-2": {
164
+ description: "Europe (Zurich)"
165
+ },
166
+ "eu-north-1": {
167
+ description: "Europe (Stockholm)"
168
+ },
169
+ "eu-south-1": {
170
+ description: "Europe (Milan)"
171
+ },
172
+ "eu-south-2": {
173
+ description: "Europe (Spain)"
174
+ },
175
+ "eu-west-1": {
176
+ description: "Europe (Ireland)"
177
+ },
178
+ "eu-west-2": {
179
+ description: "Europe (London)"
180
+ },
181
+ "eu-west-3": {
182
+ description: "Europe (Paris)"
183
+ },
184
+ "il-central-1": {
185
+ description: "Israel (Tel Aviv)"
186
+ },
187
+ "me-central-1": {
188
+ description: "Middle East (UAE)"
189
+ },
190
+ "me-south-1": {
191
+ description: "Middle East (Bahrain)"
192
+ },
193
+ "sa-east-1": {
194
+ description: "South America (Sao Paulo)"
195
+ },
196
+ "us-east-1": {
197
+ description: "US East (N. Virginia)"
198
+ },
199
+ "us-east-2": {
200
+ description: "US East (Ohio)"
201
+ },
202
+ "us-west-1": {
203
+ description: "US West (N. California)"
204
+ },
205
+ "us-west-2": {
206
+ description: "US West (Oregon)"
207
+ }
208
+ }
209
+ }, {
210
+ id: "aws-cn",
211
+ outputs: {
212
+ dnsSuffix: "amazonaws.com.cn",
213
+ dualStackDnsSuffix: "api.amazonwebservices.com.cn",
214
+ implicitGlobalRegion: "cn-northwest-1",
215
+ name: "aws-cn",
216
+ supportsDualStack: true,
217
+ supportsFIPS: true
218
+ },
219
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
220
+ regions: {
221
+ "aws-cn-global": {
222
+ description: "AWS China global region"
223
+ },
224
+ "cn-north-1": {
225
+ description: "China (Beijing)"
226
+ },
227
+ "cn-northwest-1": {
228
+ description: "China (Ningxia)"
229
+ }
230
+ }
231
+ }, {
232
+ id: "aws-us-gov",
233
+ outputs: {
234
+ dnsSuffix: "amazonaws.com",
235
+ dualStackDnsSuffix: "api.aws",
236
+ implicitGlobalRegion: "us-gov-west-1",
237
+ name: "aws-us-gov",
238
+ supportsDualStack: true,
239
+ supportsFIPS: true
240
+ },
241
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
242
+ regions: {
243
+ "aws-us-gov-global": {
244
+ description: "AWS GovCloud (US) global region"
245
+ },
246
+ "us-gov-east-1": {
247
+ description: "AWS GovCloud (US-East)"
248
+ },
249
+ "us-gov-west-1": {
250
+ description: "AWS GovCloud (US-West)"
251
+ }
252
+ }
253
+ }, {
254
+ id: "aws-iso",
255
+ outputs: {
256
+ dnsSuffix: "c2s.ic.gov",
257
+ dualStackDnsSuffix: "c2s.ic.gov",
258
+ implicitGlobalRegion: "us-iso-east-1",
259
+ name: "aws-iso",
260
+ supportsDualStack: false,
261
+ supportsFIPS: true
262
+ },
263
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
264
+ regions: {
265
+ "aws-iso-global": {
266
+ description: "AWS ISO (US) global region"
267
+ },
268
+ "us-iso-east-1": {
269
+ description: "US ISO East"
270
+ },
271
+ "us-iso-west-1": {
272
+ description: "US ISO WEST"
273
+ }
274
+ }
275
+ }, {
276
+ id: "aws-iso-b",
277
+ outputs: {
278
+ dnsSuffix: "sc2s.sgov.gov",
279
+ dualStackDnsSuffix: "sc2s.sgov.gov",
280
+ implicitGlobalRegion: "us-isob-east-1",
281
+ name: "aws-iso-b",
282
+ supportsDualStack: false,
283
+ supportsFIPS: true
284
+ },
285
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
286
+ regions: {
287
+ "aws-iso-b-global": {
288
+ description: "AWS ISOB (US) global region"
289
+ },
290
+ "us-isob-east-1": {
291
+ description: "US ISOB East (Ohio)"
292
+ }
293
+ }
294
+ }, {
295
+ id: "aws-iso-e",
296
+ outputs: {
297
+ dnsSuffix: "cloud.adc-e.uk",
298
+ dualStackDnsSuffix: "cloud.adc-e.uk",
299
+ implicitGlobalRegion: "eu-isoe-west-1",
300
+ name: "aws-iso-e",
301
+ supportsDualStack: false,
302
+ supportsFIPS: true
303
+ },
304
+ regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
305
+ regions: {}
306
+ }, {
307
+ id: "aws-iso-f",
308
+ outputs: {
309
+ dnsSuffix: "csp.hci.ic.gov",
310
+ dualStackDnsSuffix: "csp.hci.ic.gov",
311
+ implicitGlobalRegion: "us-isof-south-1",
312
+ name: "aws-iso-f",
313
+ supportsDualStack: false,
314
+ supportsFIPS: true
315
+ },
316
+ regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
317
+ regions: {}
318
+ }],
319
+ version: "1.1"
320
+ };
321
+
322
+ // src/lib/aws/partition.ts
323
+ var selectedPartitionsInfo = partitions_default;
324
+ var selectedUserAgentPrefix = "";
325
+ var partition = /* @__PURE__ */ __name((value) => {
326
+ const { partitions } = selectedPartitionsInfo;
327
+ for (const partition2 of partitions) {
328
+ const { regions, outputs } = partition2;
329
+ for (const [region, regionData] of Object.entries(regions)) {
330
+ if (region === value) {
331
+ return {
332
+ ...outputs,
333
+ ...regionData
334
+ };
335
+ }
336
+ }
337
+ }
338
+ for (const partition2 of partitions) {
339
+ const { regionRegex, outputs } = partition2;
340
+ if (new RegExp(regionRegex).test(value)) {
341
+ return {
342
+ ...outputs
343
+ };
344
+ }
345
+ }
346
+ const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === "aws");
347
+ if (!DEFAULT_PARTITION) {
348
+ throw new Error(
349
+ "Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist."
350
+ );
351
+ }
352
+ return {
353
+ ...DEFAULT_PARTITION.outputs
354
+ };
355
+ }, "partition");
356
+ var setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = "") => {
357
+ selectedPartitionsInfo = partitionsInfo;
358
+ selectedUserAgentPrefix = userAgentPrefix;
359
+ }, "setPartitionInfo");
360
+ var useDefaultPartitionInfo = /* @__PURE__ */ __name(() => {
361
+ setPartitionInfo(partitions_default, "");
362
+ }, "useDefaultPartitionInfo");
363
+ var getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, "getUserAgentPrefix");
364
+
365
+ // src/aws.ts
366
+ var awsEndpointFunctions = {
367
+ isVirtualHostableS3Bucket,
368
+ parseArn,
369
+ partition
370
+ };
371
+ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
372
+
373
+ // src/resolveEndpoint.ts
374
+
375
+
376
+ // src/types/EndpointError.ts
377
+
378
+
379
+ // src/types/EndpointRuleObject.ts
380
+
381
+
382
+ // src/types/ErrorRuleObject.ts
383
+
384
+
385
+ // src/types/RuleSetObject.ts
386
+
387
+
388
+ // src/types/TreeRuleObject.ts
389
+
390
+
391
+ // src/types/shared.ts
392
+
393
+ // Annotate the CommonJS export names for ESM import in node:
394
+ 0 && (module.exports = {
395
+ ConditionObject,
396
+ DeprecatedObject,
397
+ EndpointError,
398
+ EndpointObject,
399
+ EndpointObjectHeaders,
400
+ EndpointObjectProperties,
401
+ EndpointParams,
402
+ EndpointResolverOptions,
403
+ EndpointRuleObject,
404
+ ErrorRuleObject,
405
+ EvaluateOptions,
406
+ Expression,
407
+ FunctionArgv,
408
+ FunctionObject,
409
+ FunctionReturn,
410
+ ParameterObject,
411
+ ReferenceObject,
412
+ ReferenceRecord,
413
+ RuleSetObject,
414
+ RuleSetRules,
415
+ TreeRuleObject,
416
+ getUserAgentPrefix,
417
+ isIpAddress,
418
+ partition,
419
+ resolveEndpoint,
420
+ setPartitionInfo,
421
+ useDefaultPartitionInfo
422
+ });
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./isVirtualHostableS3Bucket"), exports);
5
- tslib_1.__exportStar(require("./parseArn"), exports);
6
- tslib_1.__exportStar(require("./partition"), exports);
1
+ module.exports = require("../../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isVirtualHostableS3Bucket = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
5
- const isIpAddress_1 = require("../isIpAddress");
6
- const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
7
- if (allowSubDomains) {
8
- for (const label of value.split(".")) {
9
- if (!(0, exports.isVirtualHostableS3Bucket)(label)) {
10
- return false;
11
- }
12
- }
13
- return true;
14
- }
15
- if (!(0, util_endpoints_1.isValidHostLabel)(value)) {
16
- return false;
17
- }
18
- if (value.length < 3 || value.length > 63) {
19
- return false;
20
- }
21
- if (value !== value.toLowerCase()) {
22
- return false;
23
- }
24
- if ((0, isIpAddress_1.isIpAddress)(value)) {
25
- return false;
26
- }
27
- return true;
28
- };
29
- exports.isVirtualHostableS3Bucket = isVirtualHostableS3Bucket;
1
+ module.exports = require("../../index.js");
@@ -1,19 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseArn = void 0;
4
- const parseArn = (value) => {
5
- const segments = value.split(":");
6
- if (segments.length < 6)
7
- return null;
8
- const [arn, partition, service, region, accountId, ...resourceId] = segments;
9
- if (arn !== "arn" || partition === "" || service === "" || resourceId[0] === "")
10
- return null;
11
- return {
12
- partition,
13
- service,
14
- region,
15
- accountId,
16
- resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId,
17
- };
18
- };
19
- exports.parseArn = parseArn;
1
+ module.exports = require("../../index.js");
@@ -1,49 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getUserAgentPrefix = exports.useDefaultPartitionInfo = exports.setPartitionInfo = exports.partition = void 0;
4
- const tslib_1 = require("tslib");
5
- const partitions_json_1 = tslib_1.__importDefault(require("./partitions.json"));
6
- let selectedPartitionsInfo = partitions_json_1.default;
7
- let selectedUserAgentPrefix = "";
8
- const partition = (value) => {
9
- const { partitions } = selectedPartitionsInfo;
10
- for (const partition of partitions) {
11
- const { regions, outputs } = partition;
12
- for (const [region, regionData] of Object.entries(regions)) {
13
- if (region === value) {
14
- return {
15
- ...outputs,
16
- ...regionData,
17
- };
18
- }
19
- }
20
- }
21
- for (const partition of partitions) {
22
- const { regionRegex, outputs } = partition;
23
- if (new RegExp(regionRegex).test(value)) {
24
- return {
25
- ...outputs,
26
- };
27
- }
28
- }
29
- const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
30
- if (!DEFAULT_PARTITION) {
31
- throw new Error("Provided region was not found in the partition array or regex," +
32
- " and default partition with id 'aws' doesn't exist.");
33
- }
34
- return {
35
- ...DEFAULT_PARTITION.outputs,
36
- };
37
- };
38
- exports.partition = partition;
39
- const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
40
- selectedPartitionsInfo = partitionsInfo;
41
- selectedUserAgentPrefix = userAgentPrefix;
42
- };
43
- exports.setPartitionInfo = setPartitionInfo;
44
- const useDefaultPartitionInfo = () => {
45
- (0, exports.setPartitionInfo)(partitions_json_1.default, "");
46
- };
47
- exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
48
- const getUserAgentPrefix = () => selectedUserAgentPrefix;
49
- exports.getUserAgentPrefix = getUserAgentPrefix;
1
+ module.exports = require("../../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isIpAddress = void 0;
4
- var util_endpoints_1 = require("@smithy/util-endpoints");
5
- Object.defineProperty(exports, "isIpAddress", { enumerable: true, get: function () { return util_endpoints_1.isIpAddress; } });
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveEndpoint = void 0;
4
- var util_endpoints_1 = require("@smithy/util-endpoints");
5
- Object.defineProperty(exports, "resolveEndpoint", { enumerable: true, get: function () { return util_endpoints_1.resolveEndpoint; } });
1
+ module.exports = require("./index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EndpointError = void 0;
4
- var util_endpoints_1 = require("@smithy/util-endpoints");
5
- Object.defineProperty(exports, "EndpointError", { enumerable: true, get: function () { return util_endpoints_1.EndpointError; } });
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./EndpointError"), exports);
5
- tslib_1.__exportStar(require("./EndpointRuleObject"), exports);
6
- tslib_1.__exportStar(require("./ErrorRuleObject"), exports);
7
- tslib_1.__exportStar(require("./RuleSetObject"), exports);
8
- tslib_1.__exportStar(require("./TreeRuleObject"), exports);
9
- tslib_1.__exportStar(require("./shared"), exports);
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.489.0",
3
+ "version": "3.495.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
7
7
  "types": "./dist-types/index.d.ts",
8
8
  "scripts": {
9
9
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
10
- "build:cjs": "tsc -p tsconfig.cjs.json",
10
+ "build:cjs": "node ../../scripts/compilation/inline util-endpoints",
11
11
  "build:es": "tsc -p tsconfig.es.json",
12
12
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
13
13
  "build:types": "tsc -p tsconfig.types.json",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.489.0",
26
- "@smithy/types": "^2.8.0",
27
- "@smithy/util-endpoints": "^1.0.8",
25
+ "@aws-sdk/types": "3.495.0",
26
+ "@smithy/types": "^2.9.0",
27
+ "@smithy/util-endpoints": "^1.1.0",
28
28
  "tslib": "^2.5.0"
29
29
  },
30
30
  "engines": {
@@ -1,13 +1,39 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.locateWindow = void 0;
3
- const fallbackWindow = {};
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ locateWindow: () => locateWindow
24
+ });
25
+ module.exports = __toCommonJS(src_exports);
26
+ var fallbackWindow = {};
4
27
  function locateWindow() {
5
- if (typeof window !== "undefined") {
6
- return window;
7
- }
8
- else if (typeof self !== "undefined") {
9
- return self;
10
- }
11
- return fallbackWindow;
28
+ if (typeof window !== "undefined") {
29
+ return window;
30
+ } else if (typeof self !== "undefined") {
31
+ return self;
32
+ }
33
+ return fallbackWindow;
12
34
  }
13
- exports.locateWindow = locateWindow;
35
+ __name(locateWindow, "locateWindow");
36
+ // Annotate the CommonJS export names for ESM import in node:
37
+ 0 && (module.exports = {
38
+ locateWindow
39
+ });