@jjrawlins/cdk-ami-builder 0.0.158 → 0.0.159

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 (330) hide show
  1. package/.jsii +11 -11
  2. package/cdkamibuilder/jsii/jsii.go +2 -2
  3. package/cdkamibuilder/version +1 -1
  4. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  5. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  6. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  7. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +11 -0
  8. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +7 -4
  9. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +9 -0
  10. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +7 -4
  11. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -0
  12. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceMetadataDefaultsCommand.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +25 -0
  14. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +17 -1
  15. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +13 -0
  16. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +4 -0
  17. package/node_modules/@aws-sdk/client-ec2/package.json +39 -39
  18. package/node_modules/@aws-sdk/client-ecs/package.json +38 -38
  19. package/node_modules/@aws-sdk/client-kms/package.json +37 -37
  20. package/node_modules/@aws-sdk/client-s3/package.json +53 -53
  21. package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
  22. package/node_modules/@aws-sdk/client-sfn/package.json +37 -37
  23. package/node_modules/@aws-sdk/client-sns/package.json +37 -37
  24. package/node_modules/@aws-sdk/client-sqs/package.json +39 -39
  25. package/node_modules/@aws-sdk/client-ssm/package.json +38 -38
  26. package/node_modules/@aws-sdk/core/package.json +13 -13
  27. package/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts +1 -1
  28. package/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts +1 -1
  29. package/node_modules/@aws-sdk/crc64-nvme/package.json +3 -3
  30. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  31. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  32. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  33. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  34. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  35. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  36. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  37. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  38. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  39. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  40. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  41. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  42. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  43. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +6 -6
  44. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  45. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +12 -12
  46. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  47. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  48. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  49. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  50. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  51. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
  52. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +13 -13
  53. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +6 -6
  54. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  55. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  56. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  57. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  58. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  59. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  60. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  61. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  62. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  63. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  64. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  65. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  66. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  67. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  68. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  69. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  70. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  71. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  72. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +1 -53
  73. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  74. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  75. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  76. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  77. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  78. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  79. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  80. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  81. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  82. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  83. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  84. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  85. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  86. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  87. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  88. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  89. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  90. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  91. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  92. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  93. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  94. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  95. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  96. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  97. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  98. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  99. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  100. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  101. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  102. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  103. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  104. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  113. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  114. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  115. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  116. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  117. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  118. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  119. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  120. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  121. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  122. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  123. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  124. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  125. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
  137. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  138. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  139. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  140. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  141. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  142. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  143. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  144. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  145. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  146. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  147. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  148. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  149. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  150. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  151. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  152. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  153. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  154. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  155. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  156. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  157. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  158. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  159. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  160. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  161. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  162. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  163. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  164. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  165. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  166. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  167. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  168. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  174. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  175. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  176. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  177. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  178. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  181. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  182. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  183. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  184. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  185. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  186. package/node_modules/@aws-sdk/nested-clients/package.json +54 -36
  187. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  188. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  189. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  190. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  191. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +1 -1
  192. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +2 -2
  193. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  194. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  195. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  196. package/node_modules/@aws-sdk/types/package.json +2 -2
  197. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  198. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  199. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  200. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  201. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  202. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  203. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  204. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  205. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  206. package/node_modules/@smithy/abort-controller/package.json +2 -2
  207. package/node_modules/@smithy/config-resolver/package.json +5 -5
  208. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +23 -3
  209. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +22 -2
  210. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  211. package/node_modules/@smithy/core/package.json +7 -7
  212. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  213. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  214. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  215. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  216. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  217. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  218. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  219. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  220. package/node_modules/@smithy/hash-node/package.json +2 -2
  221. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  222. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  223. package/node_modules/@smithy/md5-js/package.json +2 -2
  224. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  225. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  226. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  227. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  228. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  229. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  230. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  231. package/node_modules/@smithy/property-provider/package.json +2 -2
  232. package/node_modules/@smithy/protocol-http/package.json +2 -2
  233. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  234. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  235. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  236. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  237. package/node_modules/@smithy/signature-v4/package.json +4 -4
  238. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +20 -1
  239. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  240. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  241. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  242. package/node_modules/@smithy/smithy-client/package.json +10 -8
  243. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  244. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  245. package/node_modules/@smithy/types/package.json +1 -1
  246. package/node_modules/@smithy/url-parser/package.json +3 -3
  247. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  248. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  249. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  250. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  251. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  252. package/node_modules/@smithy/util-middleware/package.json +2 -2
  253. package/node_modules/@smithy/util-retry/package.json +3 -3
  254. package/node_modules/@smithy/util-stream/package.json +4 -4
  255. package/node_modules/@smithy/util-waiter/package.json +3 -3
  256. package/package.json +11 -11
  257. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  258. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  259. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  260. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
  261. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
  262. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  263. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  264. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  265. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  266. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  267. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  268. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
  269. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
  270. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  271. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  272. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  273. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  274. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  275. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  276. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  277. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  278. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  279. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
  280. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  281. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  282. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  283. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  284. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  285. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  286. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  287. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  288. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  289. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  290. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-Bw7VSvlO.js +0 -8
  291. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  292. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  293. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
  294. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
  295. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
  296. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  297. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  298. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  299. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  300. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  301. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  302. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  303. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  304. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  305. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  306. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  307. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
  308. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  309. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  310. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  311. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  312. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  313. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  314. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  315. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  316. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  317. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  318. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  319. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  320. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  321. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  322. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  323. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  324. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  325. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  326. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  327. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  328. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  329. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  330. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
@@ -2,6 +2,144 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
5
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
6
- const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
5
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, default: false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
6
+ url: "https://sts.amazonaws.com",
7
+ properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
8
+ headers: {},
9
+ }, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
10
+ const _data = {
11
+ version: "1.0",
12
+ parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
13
+ rules: [
14
+ {
15
+ conditions: [
16
+ { [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
17
+ { [H]: "not", [I]: C },
18
+ p,
19
+ r,
20
+ { [H]: c, [I]: [s, a] },
21
+ { [H]: c, [I]: [t, a] },
22
+ ],
23
+ rules: [
24
+ { conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
25
+ { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
26
+ { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
27
+ { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
28
+ w,
29
+ { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
30
+ { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
31
+ { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
32
+ { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
33
+ { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
34
+ { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
35
+ { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
36
+ { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
37
+ { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
38
+ { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
39
+ { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
40
+ {
41
+ endpoint: {
42
+ url: i,
43
+ properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
44
+ headers: v,
45
+ },
46
+ [G]: h,
47
+ },
48
+ ],
49
+ [G]: j,
50
+ },
51
+ {
52
+ conditions: C,
53
+ rules: [
54
+ { conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
55
+ { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
56
+ { endpoint: { url: o, properties: v, headers: v }, [G]: h },
57
+ ],
58
+ [G]: j,
59
+ },
60
+ {
61
+ conditions: [p],
62
+ rules: [
63
+ {
64
+ conditions: [r],
65
+ rules: [
66
+ {
67
+ conditions: [x, y],
68
+ rules: [
69
+ {
70
+ conditions: [{ [H]: c, [I]: [b, z] }, B],
71
+ rules: [
72
+ {
73
+ endpoint: {
74
+ url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
75
+ properties: v,
76
+ headers: v,
77
+ },
78
+ [G]: h,
79
+ },
80
+ ],
81
+ [G]: j,
82
+ },
83
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k },
84
+ ],
85
+ [G]: j,
86
+ },
87
+ {
88
+ conditions: D,
89
+ rules: [
90
+ {
91
+ conditions: [{ [H]: c, [I]: [z, b] }],
92
+ rules: [
93
+ {
94
+ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
95
+ endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
96
+ [G]: h,
97
+ },
98
+ {
99
+ endpoint: {
100
+ url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
101
+ properties: v,
102
+ headers: v,
103
+ },
104
+ [G]: h,
105
+ },
106
+ ],
107
+ [G]: j,
108
+ },
109
+ { error: "FIPS is enabled but this partition does not support FIPS", [G]: k },
110
+ ],
111
+ [G]: j,
112
+ },
113
+ {
114
+ conditions: E,
115
+ rules: [
116
+ {
117
+ conditions: [B],
118
+ rules: [
119
+ {
120
+ endpoint: {
121
+ url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
122
+ properties: v,
123
+ headers: v,
124
+ },
125
+ [G]: h,
126
+ },
127
+ ],
128
+ [G]: j,
129
+ },
130
+ { error: "DualStack is enabled but this partition does not support DualStack", [G]: k },
131
+ ],
132
+ [G]: j,
133
+ },
134
+ w,
135
+ { endpoint: { url: i, properties: v, headers: v }, [G]: h },
136
+ ],
137
+ [G]: j,
138
+ },
139
+ ],
140
+ [G]: j,
141
+ },
142
+ { error: "Invalid Configuration: Missing Region", [G]: k },
143
+ ],
144
+ };
7
145
  exports.ruleSet = _data;
@@ -0,0 +1,11 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CognitoIdentityClient } from "./CognitoIdentityClient";
3
+ import { GetCredentialsForIdentityCommand } from "./commands/GetCredentialsForIdentityCommand";
4
+ import { GetIdCommand } from "./commands/GetIdCommand";
5
+ const commands = {
6
+ GetCredentialsForIdentityCommand,
7
+ GetIdCommand,
8
+ };
9
+ export class CognitoIdentity extends CognitoIdentityClient {
10
+ }
11
+ createAggregatedClient(commands, CognitoIdentity);
@@ -0,0 +1,50 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
+ import { Client as __Client, } from "@smithy/smithy-client";
12
+ import { defaultCognitoIdentityHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
+ import { resolveClientEndpointParameters } from "./endpoint/EndpointParameters";
14
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
+ export { __Client };
17
+ export class CognitoIdentityClient extends __Client {
18
+ config;
19
+ constructor(...[configuration]) {
20
+ const _config_0 = __getRuntimeConfig(configuration || {});
21
+ super(_config_0);
22
+ this.initConfig = _config_0;
23
+ const _config_1 = resolveClientEndpointParameters(_config_0);
24
+ const _config_2 = resolveUserAgentConfig(_config_1);
25
+ const _config_3 = resolveRetryConfig(_config_2);
26
+ const _config_4 = resolveRegionConfig(_config_3);
27
+ const _config_5 = resolveHostHeaderConfig(_config_4);
28
+ const _config_6 = resolveEndpointConfig(_config_5);
29
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
30
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
31
+ this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
34
+ this.middlewareStack.use(getRetryPlugin(this.config));
35
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
36
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
+ this.middlewareStack.use(getLoggerPlugin(this.config));
38
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
39
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
40
+ httpAuthSchemeParametersProvider: defaultCognitoIdentityHttpAuthSchemeParametersProvider,
41
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
42
+ "aws.auth#sigv4": config.credentials,
43
+ }),
44
+ }));
45
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
46
+ }
47
+ destroy() {
48
+ super.destroy();
49
+ }
50
+ }
@@ -0,0 +1,54 @@
1
+ import { resolveAwsSdkSigV4Config } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "cognito-identity",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "smithy.api#noAuth",
30
+ };
31
+ }
32
+ export const defaultCognitoIdentityHttpAuthSchemeProvider = (authParameters) => {
33
+ const options = [];
34
+ switch (authParameters.operation) {
35
+ case "GetCredentialsForIdentity": {
36
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
37
+ break;
38
+ }
39
+ case "GetId": {
40
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
41
+ break;
42
+ }
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ export const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
@@ -1,16 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAccounts$ } from "../schemas/schemas_0";
4
+ import { GetCredentialsForIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class ListAccountsCommand extends $Command
6
+ export class GetCredentialsForIdentityCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("SWBPortalService", "ListAccounts", {})
13
- .n("SSOClient", "ListAccountsCommand")
14
- .sc(ListAccounts$)
12
+ .s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {})
13
+ .n("CognitoIdentityClient", "GetCredentialsForIdentityCommand")
14
+ .sc(GetCredentialsForIdentity$)
15
15
  .build() {
16
16
  }
@@ -1,16 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { Logout$ } from "../schemas/schemas_0";
4
+ import { GetId$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
- export class LogoutCommand extends $Command
6
+ export class GetIdCommand extends $Command
7
7
  .classBuilder()
8
8
  .ep(commonParams)
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
11
  })
12
- .s("SWBPortalService", "Logout", {})
13
- .n("SSOClient", "LogoutCommand")
14
- .sc(Logout$)
12
+ .s("AWSCognitoIdentityService", "GetId", {})
13
+ .n("CognitoIdentityClient", "GetIdCommand")
14
+ .sc(GetId$)
15
15
  .build() {
16
16
  }
@@ -0,0 +1,2 @@
1
+ export * from "./GetCredentialsForIdentityCommand";
2
+ export * from "./GetIdCommand";
@@ -0,0 +1,13 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
4
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
5
+ defaultSigningName: "cognito-identity",
6
+ });
7
+ };
8
+ export const commonParams = {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
@@ -0,0 +1,143 @@
1
+ const w = "required", x = "fn", y = "argv", z = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = "stringEquals", j = { [w]: false, type: "string" }, k = { [w]: true, default: false, type: "boolean" }, l = { [z]: "Endpoint" }, m = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, n = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, o = {}, p = { [z]: "Region" }, q = { [x]: h, [y]: [{ [z]: g }, "supportsFIPS"] }, r = { [z]: g }, s = { [x]: c, [y]: [true, { [x]: h, [y]: [r, "supportsDualStack"] }] }, t = [m], u = [n], v = [p];
3
+ const _data = {
4
+ version: "1.0",
5
+ parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j },
6
+ rules: [
7
+ {
8
+ conditions: [{ [x]: b, [y]: [l] }],
9
+ rules: [
10
+ { conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
11
+ { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
12
+ { endpoint: { url: l, properties: o, headers: o }, type: e },
13
+ ],
14
+ type: f,
15
+ },
16
+ {
17
+ conditions: [{ [x]: b, [y]: v }],
18
+ rules: [
19
+ {
20
+ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }],
21
+ rules: [
22
+ {
23
+ conditions: [m, n],
24
+ rules: [
25
+ {
26
+ conditions: [{ [x]: c, [y]: [a, q] }, s],
27
+ rules: [
28
+ {
29
+ conditions: [{ [x]: i, [y]: [p, "us-east-1"] }],
30
+ endpoint: {
31
+ url: "https://cognito-identity-fips.us-east-1.amazonaws.com",
32
+ properties: o,
33
+ headers: o,
34
+ },
35
+ type: e,
36
+ },
37
+ {
38
+ conditions: [{ [x]: i, [y]: [p, "us-east-2"] }],
39
+ endpoint: {
40
+ url: "https://cognito-identity-fips.us-east-2.amazonaws.com",
41
+ properties: o,
42
+ headers: o,
43
+ },
44
+ type: e,
45
+ },
46
+ {
47
+ conditions: [{ [x]: i, [y]: [p, "us-west-1"] }],
48
+ endpoint: {
49
+ url: "https://cognito-identity-fips.us-west-1.amazonaws.com",
50
+ properties: o,
51
+ headers: o,
52
+ },
53
+ type: e,
54
+ },
55
+ {
56
+ conditions: [{ [x]: i, [y]: [p, "us-west-2"] }],
57
+ endpoint: {
58
+ url: "https://cognito-identity-fips.us-west-2.amazonaws.com",
59
+ properties: o,
60
+ headers: o,
61
+ },
62
+ type: e,
63
+ },
64
+ {
65
+ endpoint: {
66
+ url: "https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
67
+ properties: o,
68
+ headers: o,
69
+ },
70
+ type: e,
71
+ },
72
+ ],
73
+ type: f,
74
+ },
75
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d },
76
+ ],
77
+ type: f,
78
+ },
79
+ {
80
+ conditions: t,
81
+ rules: [
82
+ {
83
+ conditions: [{ [x]: c, [y]: [q, a] }],
84
+ rules: [
85
+ {
86
+ endpoint: {
87
+ url: "https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",
88
+ properties: o,
89
+ headers: o,
90
+ },
91
+ type: e,
92
+ },
93
+ ],
94
+ type: f,
95
+ },
96
+ { error: "FIPS is enabled but this partition does not support FIPS", type: d },
97
+ ],
98
+ type: f,
99
+ },
100
+ {
101
+ conditions: u,
102
+ rules: [
103
+ {
104
+ conditions: [s],
105
+ rules: [
106
+ {
107
+ conditions: [{ [x]: i, [y]: ["aws", { [x]: h, [y]: [r, "name"] }] }],
108
+ endpoint: { url: "https://cognito-identity.{Region}.amazonaws.com", properties: o, headers: o },
109
+ type: e,
110
+ },
111
+ {
112
+ endpoint: {
113
+ url: "https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",
114
+ properties: o,
115
+ headers: o,
116
+ },
117
+ type: e,
118
+ },
119
+ ],
120
+ type: f,
121
+ },
122
+ { error: "DualStack is enabled but this partition does not support DualStack", type: d },
123
+ ],
124
+ type: f,
125
+ },
126
+ {
127
+ endpoint: {
128
+ url: "https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",
129
+ properties: o,
130
+ headers: o,
131
+ },
132
+ type: e,
133
+ },
134
+ ],
135
+ type: f,
136
+ },
137
+ ],
138
+ type: f,
139
+ },
140
+ { error: "Invalid Configuration: Missing Region", type: d },
141
+ ],
142
+ };
143
+ export const ruleSet = _data;
@@ -0,0 +1,7 @@
1
+ export * from "./CognitoIdentityClient";
2
+ export * from "./CognitoIdentity";
3
+ export * from "./commands";
4
+ export * from "./schemas/schemas_0";
5
+ export * from "./models/errors";
6
+ export * from "./models/models_0";
7
+ export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class CognitoIdentityServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1,109 @@
1
+ import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
2
+ export class ExternalServiceException extends __BaseException {
3
+ name = "ExternalServiceException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ExternalServiceException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ExternalServiceException.prototype);
12
+ }
13
+ }
14
+ export class InternalErrorException extends __BaseException {
15
+ name = "InternalErrorException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalErrorException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
24
+ }
25
+ }
26
+ export class InvalidIdentityPoolConfigurationException extends __BaseException {
27
+ name = "InvalidIdentityPoolConfigurationException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "InvalidIdentityPoolConfigurationException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
36
+ }
37
+ }
38
+ export class InvalidParameterException extends __BaseException {
39
+ name = "InvalidParameterException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "InvalidParameterException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
48
+ }
49
+ }
50
+ export class NotAuthorizedException extends __BaseException {
51
+ name = "NotAuthorizedException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "NotAuthorizedException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, NotAuthorizedException.prototype);
60
+ }
61
+ }
62
+ export class ResourceConflictException extends __BaseException {
63
+ name = "ResourceConflictException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "ResourceConflictException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
72
+ }
73
+ }
74
+ export class ResourceNotFoundException extends __BaseException {
75
+ name = "ResourceNotFoundException";
76
+ $fault = "client";
77
+ constructor(opts) {
78
+ super({
79
+ name: "ResourceNotFoundException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
84
+ }
85
+ }
86
+ export class TooManyRequestsException extends __BaseException {
87
+ name = "TooManyRequestsException";
88
+ $fault = "client";
89
+ constructor(opts) {
90
+ super({
91
+ name: "TooManyRequestsException",
92
+ $fault: "client",
93
+ ...opts,
94
+ });
95
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
96
+ }
97
+ }
98
+ export class LimitExceededException extends __BaseException {
99
+ name = "LimitExceededException";
100
+ $fault = "client";
101
+ constructor(opts) {
102
+ super({
103
+ name: "LimitExceededException",
104
+ $fault: "client",
105
+ ...opts,
106
+ });
107
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
108
+ }
109
+ }
@@ -1,4 +1,4 @@
1
- import packageInfo from "../package.json";
1
+ import packageInfo from "../../../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
@@ -19,7 +19,8 @@ export const getRuntimeConfig = (config) => {
19
19
  runtime: "browser",
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
22
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
23
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
24
25
  region: config?.region ?? invalidProvider("Region is missing"),
25
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,4 +1,4 @@
1
- import packageInfo from "../package.json";
1
+ import packageInfo from "../../../package.json";
2
2
  import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -28,9 +28,11 @@ export const getRuntimeConfig = (config) => {
28
28
  defaultsMode,
29
29
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
30
30
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
32
33
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
34
+ region: config?.region ??
35
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
34
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
35
37
  retryMode: config?.retryMode ??
36
38
  loadNodeConfig({