@cdk8s/awscdk-resolver 0.0.41 → 0.0.43

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 (199) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -4
  4. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  5. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +17 -3
  6. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  7. package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +67 -0
  8. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +0 -2
  9. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +0 -2
  10. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +0 -2
  11. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +0 -2
  12. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +0 -2
  13. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +0 -2
  14. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  15. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +14 -0
  16. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +16 -0
  17. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +3 -0
  18. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +17 -3
  19. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  20. package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +60 -0
  21. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +0 -2
  22. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +0 -2
  23. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +0 -2
  24. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +0 -2
  25. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +0 -2
  26. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +0 -2
  27. package/node_modules/@aws-sdk/client-sts/dist-es/index.js +1 -1
  28. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +15 -1
  29. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +16 -0
  30. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +3 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +13 -11
  32. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +71 -0
  34. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +2 -1
  35. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +15 -5
  37. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +13 -5
  38. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +16 -6
  39. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +15 -2
  40. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +11 -9
  41. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  42. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +54 -0
  43. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  44. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +36 -9
  46. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +27 -9
  47. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -12
  48. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +36 -4
  49. package/node_modules/@aws-sdk/client-sts/package.json +5 -5
  50. package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
  51. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws-sdk/AWSSDKSigV4Signer.js +55 -0
  52. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws-sdk/index.js +5 -0
  53. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws-sdk/resolveAWSSDKSigV4Config.js +81 -0
  54. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws-sdk/throwAWSSDKSigningPropertyError.js +10 -0
  55. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +4 -0
  56. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +6 -0
  57. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +5 -0
  58. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -0
  59. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +6 -0
  60. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +6 -0
  61. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1 -0
  62. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws-sdk/AWSSDKSigV4Signer.js +49 -0
  63. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws-sdk/index.js +2 -0
  64. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws-sdk/resolveAWSSDKSigV4Config.js +77 -0
  65. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws-sdk/throwAWSSDKSigningPropertyError.js +6 -0
  66. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -0
  67. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js +2 -0
  68. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
  69. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
  70. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/index.js +3 -0
  71. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js +2 -0
  72. package/node_modules/@aws-sdk/core/dist-es/index.js +1 -0
  73. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws-sdk/AWSSDKSigV4Signer.d.ts +13 -0
  74. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws-sdk/index.d.ts +2 -0
  75. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws-sdk/resolveAWSSDKSigV4Config.d.ts +76 -0
  76. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/aws-sdk/throwAWSSDKSigningPropertyError.d.ts +4 -0
  77. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -0
  78. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  79. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
  80. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
  81. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/index.d.ts +3 -0
  82. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
  83. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +1 -0
  84. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws-sdk/AWSSDKSigV4Signer.d.ts +20 -0
  85. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws-sdk/index.d.ts +2 -0
  86. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws-sdk/resolveAWSSDKSigV4Config.d.ts +46 -0
  87. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/aws-sdk/throwAWSSDKSigningPropertyError.d.ts +4 -0
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -0
  89. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
  90. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
  91. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
  92. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/index.d.ts +3 -0
  93. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
  94. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +1 -0
  95. package/node_modules/@aws-sdk/core/package.json +6 -2
  96. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws-sdk/AWSSDKSigV4Signer.ts +118 -0
  97. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws-sdk/index.ts +2 -0
  98. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws-sdk/resolveAWSSDKSigV4Config.ts +216 -0
  99. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws-sdk/throwAWSSDKSigningPropertyError.ts +9 -0
  100. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -0
  101. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +7 -0
  102. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +17 -0
  103. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +8 -0
  104. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +37 -0
  105. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +18 -0
  106. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +3 -0
  107. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +32 -0
  108. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +12 -0
  109. package/node_modules/@aws-sdk/core/src/index.ts +1 -0
  110. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  111. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  112. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  113. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  114. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  115. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  116. package/node_modules/{@aws-sdk/middleware-sdk-sts → @smithy/core}/LICENSE +1 -1
  117. package/node_modules/@smithy/core/README.md +12 -0
  118. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
  119. package/node_modules/@smithy/core/dist-cjs/index.js +9 -0
  120. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +22 -0
  121. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +22 -0
  122. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +45 -0
  123. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
  124. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +20 -0
  125. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +28 -0
  126. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
  127. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
  128. package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +72 -0
  129. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
  130. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +37 -0
  131. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +14 -0
  132. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
  133. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
  134. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
  135. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +59 -0
  136. package/node_modules/@smithy/core/dist-es/getSmithyContext.js +2 -0
  137. package/node_modules/@smithy/core/dist-es/index.js +6 -0
  138. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +18 -0
  139. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +18 -0
  140. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +40 -0
  141. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js +3 -0
  142. package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +16 -0
  143. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +24 -0
  144. package/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js +2 -0
  145. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +6 -0
  146. package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +67 -0
  147. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +13 -0
  148. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +33 -0
  149. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +10 -0
  150. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js +3 -0
  151. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js +5 -0
  152. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js +3 -0
  153. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +53 -0
  154. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +5 -0
  155. package/node_modules/@smithy/core/dist-types/index.d.ts +6 -0
  156. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
  157. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
  158. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +32 -0
  159. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts +3 -0
  160. package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
  161. package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
  162. package/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts +2 -0
  163. package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +7 -0
  164. package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +51 -0
  165. package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
  166. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +6 -0
  167. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
  168. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
  169. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +32 -0
  170. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +3 -0
  171. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
  172. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
  173. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +2 -0
  174. package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
  175. package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +51 -0
  176. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
  177. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
  178. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
  179. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
  180. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
  181. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +3 -0
  182. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +30 -0
  183. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
  184. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
  185. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
  186. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
  187. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
  188. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts +3 -0
  189. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +30 -0
  190. package/node_modules/@smithy/core/package.json +66 -0
  191. package/node_modules/@smithy/signature-v4/README.md +1 -1
  192. package/node_modules/@smithy/signature-v4/package.json +1 -1
  193. package/package.json +6 -6
  194. package/node_modules/@aws-sdk/middleware-sdk-sts/README.md +0 -4
  195. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js +0 -9
  196. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-es/index.js +0 -5
  197. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/index.d.ts +0 -37
  198. package/node_modules/@aws-sdk/middleware-sdk-sts/dist-types/ts3.4/index.d.ts +0 -34
  199. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +0 -55
@@ -0,0 +1,32 @@
1
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface PreviouslyResolved<TParameters extends HttpAuthSchemeParameters> {
6
+ httpAuthSchemes: HttpAuthScheme[];
7
+ httpAuthSchemeProvider: HttpAuthSchemeProvider<TParameters>;
8
+ }
9
+ /**
10
+ * @internal
11
+ */
12
+ interface HttpAuthSchemeMiddlewareOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
13
+ httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
14
+ identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
15
+ }
16
+ /**
17
+ * @internal
18
+ */
19
+ interface HttpAuthSchemeMiddlewareSmithyContext extends Record<string, unknown> {
20
+ selectedHttpAuthScheme?: SelectedHttpAuthScheme;
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ interface HttpAuthSchemeMiddlewareHandlerExecutionContext extends HandlerExecutionContext {
26
+ [SMITHY_CONTEXT_KEY]?: HttpAuthSchemeMiddlewareSmithyContext;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare const httpAuthSchemeMiddleware: <TInput extends object, Output extends object, TConfig extends object, TContext extends HttpAuthSchemeMiddlewareHandlerExecutionContext, TParameters extends HttpAuthSchemeParameters>(config: TConfig & PreviouslyResolved<TParameters>, mwOptions: HttpAuthSchemeMiddlewareOptions<TConfig, TContext, TParameters, TInput>) => SerializeMiddleware<TInput, Output>;
32
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./httpAuthSchemeMiddleware";
2
+ export * from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
+ export * from "./getHttpAuthSchemePlugin";
@@ -0,0 +1,9 @@
1
+ import { FinalizeRequestHandlerOptions, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & RelativeMiddlewareOptions;
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare const getHttpSigningPlugin: <Input extends object, Output extends object>(config: object) => Pluggable<Input, Output>;
@@ -0,0 +1,5 @@
1
+ import { FinalizeRequestMiddleware } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const httpSigningMiddleware: <Input extends object, Output extends object>(config: object) => FinalizeRequestMiddleware<Input, Output>;
@@ -0,0 +1,2 @@
1
+ export * from "./httpSigningMiddleware";
2
+ export * from "./getHttpSigningMiddleware";
@@ -0,0 +1,7 @@
1
+ import { Provider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ *
5
+ * @returns a provider function for the input value if it isn't already one.
6
+ */
7
+ export declare const normalizeProvider: <T>(input: T | Provider<T>) => Provider<T>;
@@ -0,0 +1,51 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import type { SerdeContext } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ * used in code-generated serde.
6
+ */
7
+ export declare function requestBuilder(input: any, context: SerdeContext): RequestBuilder;
8
+ /**
9
+ * @internal
10
+ */
11
+ export declare class RequestBuilder {
12
+ private input;
13
+ private context;
14
+ private query;
15
+ private method;
16
+ private headers;
17
+ private path;
18
+ private body;
19
+ private hostname;
20
+ private resolvePathStack;
21
+ constructor(input: any, context: SerdeContext);
22
+ build(): Promise<HttpRequest>;
23
+ /**
24
+ * Brevity setter for "hostname".
25
+ */
26
+ hn(hostname: string): this;
27
+ /**
28
+ * Brevity initial builder for "basepath".
29
+ */
30
+ bp(uriLabel: string): this;
31
+ /**
32
+ * Brevity incremental builder for "path".
33
+ */
34
+ p(memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean): this;
35
+ /**
36
+ * Brevity setter for "headers".
37
+ */
38
+ h(headers: Record<string, string>): this;
39
+ /**
40
+ * Brevity setter for "query".
41
+ */
42
+ q(query: Record<string, string>): this;
43
+ /**
44
+ * Brevity setter for "body".
45
+ */
46
+ b(body: any): this;
47
+ /**
48
+ * Brevity setter for "method".
49
+ */
50
+ m(method: string): this;
51
+ }
@@ -0,0 +1,5 @@
1
+ import { HandlerExecutionContext } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getSmithyContext: (context: HandlerExecutionContext) => Record<string, unknown>;
@@ -0,0 +1,6 @@
1
+ export * from "./middleware-http-auth-scheme";
2
+ export * from "./middleware-http-signing";
3
+ export * from "./util-identity-and-auth";
4
+ export * from "./getSmithyContext";
5
+ export * from "./normalizeProvider";
6
+ export * from "./protocols/requestBuilder";
@@ -0,0 +1,18 @@
1
+ import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types";
2
+ import { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const httpAuthSchemeEndpointRuleSetMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions;
7
+ /**
8
+ * @internal
9
+ */
10
+ interface HttpAuthSchemeEndpointRuleSetPluginOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
11
+ httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
12
+ identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const getHttpAuthSchemeEndpointRuleSetPlugin: <TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object>(config: TConfig & PreviouslyResolved<TParameters>, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemeEndpointRuleSetPluginOptions<TConfig, TContext, TParameters, TInput>) => Pluggable<any, any>;
18
+ export {};
@@ -0,0 +1,18 @@
1
+ import { HandlerExecutionContext, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, IdentityProviderConfig, Pluggable, RelativeMiddlewareOptions, SerializeHandlerOptions } from "@smithy/types";
2
+ import { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const httpAuthSchemeMiddlewareOptions: SerializeHandlerOptions & RelativeMiddlewareOptions;
7
+ /**
8
+ * @internal
9
+ */
10
+ interface HttpAuthSchemePluginOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
11
+ httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
12
+ identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const getHttpAuthSchemePlugin: <TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object>(config: TConfig & PreviouslyResolved<TParameters>, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }: HttpAuthSchemePluginOptions<TConfig, TContext, TParameters, TInput>) => Pluggable<any, any>;
18
+ export {};
@@ -0,0 +1,32 @@
1
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface PreviouslyResolved<TParameters extends HttpAuthSchemeParameters> {
6
+ httpAuthSchemes: HttpAuthScheme[];
7
+ httpAuthSchemeProvider: HttpAuthSchemeProvider<TParameters>;
8
+ }
9
+ /**
10
+ * @internal
11
+ */
12
+ interface HttpAuthSchemeMiddlewareOptions<TConfig extends object, TContext extends HandlerExecutionContext, TParameters extends HttpAuthSchemeParameters, TInput extends object> {
13
+ httpAuthSchemeParametersProvider: HttpAuthSchemeParametersProvider<TConfig, TContext, TParameters, TInput>;
14
+ identityProviderConfigProvider: (config: TConfig) => Promise<IdentityProviderConfig>;
15
+ }
16
+ /**
17
+ * @internal
18
+ */
19
+ interface HttpAuthSchemeMiddlewareSmithyContext extends Record<string, unknown> {
20
+ selectedHttpAuthScheme?: SelectedHttpAuthScheme;
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ interface HttpAuthSchemeMiddlewareHandlerExecutionContext extends HandlerExecutionContext {
26
+ [SMITHY_CONTEXT_KEY]?: HttpAuthSchemeMiddlewareSmithyContext;
27
+ }
28
+ /**
29
+ * @internal
30
+ */
31
+ export declare const httpAuthSchemeMiddleware: <TInput extends object, Output extends object, TConfig extends object, TContext extends HttpAuthSchemeMiddlewareHandlerExecutionContext, TParameters extends HttpAuthSchemeParameters>(config: TConfig & PreviouslyResolved<TParameters>, mwOptions: HttpAuthSchemeMiddlewareOptions<TConfig, TContext, TParameters, TInput>) => SerializeMiddleware<TInput, Output>;
32
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./httpAuthSchemeMiddleware";
2
+ export * from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
+ export * from "./getHttpAuthSchemePlugin";
@@ -0,0 +1,9 @@
1
+ import { FinalizeRequestHandlerOptions, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & RelativeMiddlewareOptions;
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare const getHttpSigningPlugin: <Input extends object, Output extends object>(config: object) => Pluggable<Input, Output>;
@@ -0,0 +1,5 @@
1
+ import { FinalizeRequestMiddleware } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const httpSigningMiddleware: <Input extends object, Output extends object>(config: object) => FinalizeRequestMiddleware<Input, Output>;
@@ -0,0 +1,2 @@
1
+ export * from "./httpSigningMiddleware";
2
+ export * from "./getHttpSigningMiddleware";
@@ -0,0 +1,7 @@
1
+ import { Provider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ *
5
+ * @returns a provider function for the input value if it isn't already one.
6
+ */
7
+ export declare const normalizeProvider: <T>(input: T | Provider<T>) => Provider<T>;
@@ -0,0 +1,51 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { SerdeContext } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ * used in code-generated serde.
6
+ */
7
+ export declare function requestBuilder(input: any, context: SerdeContext): RequestBuilder;
8
+ /**
9
+ * @internal
10
+ */
11
+ export declare class RequestBuilder {
12
+ private input;
13
+ private context;
14
+ private query;
15
+ private method;
16
+ private headers;
17
+ private path;
18
+ private body;
19
+ private hostname;
20
+ private resolvePathStack;
21
+ constructor(input: any, context: SerdeContext);
22
+ build(): Promise<HttpRequest>;
23
+ /**
24
+ * Brevity setter for "hostname".
25
+ */
26
+ hn(hostname: string): this;
27
+ /**
28
+ * Brevity initial builder for "basepath".
29
+ */
30
+ bp(uriLabel: string): this;
31
+ /**
32
+ * Brevity incremental builder for "path".
33
+ */
34
+ p(memberName: string, labelValueProvider: () => string | undefined, uriLabel: string, isGreedyLabel: boolean): this;
35
+ /**
36
+ * Brevity setter for "headers".
37
+ */
38
+ h(headers: Record<string, string>): this;
39
+ /**
40
+ * Brevity setter for "query".
41
+ */
42
+ q(query: Record<string, string>): this;
43
+ /**
44
+ * Brevity setter for "body".
45
+ */
46
+ b(body: any): this;
47
+ /**
48
+ * Brevity setter for "method".
49
+ */
50
+ m(method: string): this;
51
+ }
@@ -0,0 +1,15 @@
1
+ import { HttpAuthSchemeId, Identity, IdentityProvider, IdentityProviderConfig } from "@smithy/types";
2
+ /**
3
+ * Default implementation of IdentityProviderConfig
4
+ * @internal
5
+ */
6
+ export declare class DefaultIdentityProviderConfig implements IdentityProviderConfig {
7
+ private authSchemes;
8
+ /**
9
+ * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers.
10
+ *
11
+ * @param config scheme IDs and identity providers to configure
12
+ */
13
+ constructor(config: Record<HttpAuthSchemeId, IdentityProvider<Identity> | undefined>);
14
+ getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider<Identity> | undefined;
15
+ }
@@ -0,0 +1,8 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { ApiKeyIdentity, HttpRequest as IHttpRequest, HttpSigner } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class HttpApiKeyAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: ApiKeyIdentity, signingProperties: Record<string, any>): Promise<IHttpRequest>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { HttpRequest as IHttpRequest, HttpSigner, TokenIdentity } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class HttpBearerAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: TokenIdentity, signingProperties: Record<string, any>): Promise<IHttpRequest>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./httpApiKeyAuth";
2
+ export * from "./httpBearerAuth";
3
+ export * from "./noAuth";
@@ -0,0 +1,8 @@
1
+ import { HttpRequest, HttpSigner, Identity } from "@smithy/types";
2
+ /**
3
+ * Signer for the synthetic @smithy.api#noAuth auth scheme.
4
+ * @internal
5
+ */
6
+ export declare class NoAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record<string, unknown>): Promise<HttpRequest>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./DefaultIdentityProviderConfig";
2
+ export * from "./httpAuthSchemes";
3
+ export * from "./memoizeIdentityProvider";
@@ -0,0 +1,30 @@
1
+ import { Identity, IdentityProvider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const createIsIdentityExpiredFunction: (expirationMs: number) => (identity: Identity) => boolean;
6
+ /**
7
+ * @internal
8
+ * This may need to be configurable in the future, but for now it is defaulted to 5min.
9
+ */
10
+ export declare const EXPIRATION_MS = 300000;
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const isIdentityExpired: (identity: Identity) => boolean;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const doesIdentityRequireRefresh: (identity: Identity) => boolean;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface MemoizedIdentityProvider<IdentityT extends Identity> {
23
+ (options?: Record<string, any> & {
24
+ forceRefresh?: boolean;
25
+ }): Promise<IdentityT>;
26
+ }
27
+ /**
28
+ * @internal
29
+ */
30
+ export declare const memoizeIdentityProvider: <IdentityT extends Identity>(provider: IdentityT | IdentityProvider<IdentityT> | undefined, isExpired: (resolved: Identity) => boolean, requiresRefresh: (resolved: Identity) => boolean) => MemoizedIdentityProvider<IdentityT> | undefined;
@@ -0,0 +1,15 @@
1
+ import { HttpAuthSchemeId, Identity, IdentityProvider, IdentityProviderConfig } from "@smithy/types";
2
+ /**
3
+ * Default implementation of IdentityProviderConfig
4
+ * @internal
5
+ */
6
+ export declare class DefaultIdentityProviderConfig implements IdentityProviderConfig {
7
+ private authSchemes;
8
+ /**
9
+ * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers.
10
+ *
11
+ * @param config scheme IDs and identity providers to configure
12
+ */
13
+ constructor(config: Record<HttpAuthSchemeId, IdentityProvider<Identity> | undefined>);
14
+ getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider<Identity> | undefined;
15
+ }
@@ -0,0 +1,8 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { ApiKeyIdentity, HttpRequest as IHttpRequest, HttpSigner } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class HttpApiKeyAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: ApiKeyIdentity, signingProperties: Record<string, any>): Promise<IHttpRequest>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { HttpRequest as IHttpRequest, HttpSigner, TokenIdentity } from "@smithy/types";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class HttpBearerAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: TokenIdentity, signingProperties: Record<string, any>): Promise<IHttpRequest>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./httpApiKeyAuth";
2
+ export * from "./httpBearerAuth";
3
+ export * from "./noAuth";
@@ -0,0 +1,8 @@
1
+ import { HttpRequest, HttpSigner, Identity } from "@smithy/types";
2
+ /**
3
+ * Signer for the synthetic @smithy.api#noAuth auth scheme.
4
+ * @internal
5
+ */
6
+ export declare class NoAuthSigner implements HttpSigner {
7
+ sign(httpRequest: HttpRequest, identity: Identity, signingProperties: Record<string, unknown>): Promise<HttpRequest>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./DefaultIdentityProviderConfig";
2
+ export * from "./httpAuthSchemes";
3
+ export * from "./memoizeIdentityProvider";
@@ -0,0 +1,30 @@
1
+ import { Identity, IdentityProvider } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const createIsIdentityExpiredFunction: (expirationMs: number) => (identity: Identity) => boolean;
6
+ /**
7
+ * @internal
8
+ * This may need to be configurable in the future, but for now it is defaulted to 5min.
9
+ */
10
+ export declare const EXPIRATION_MS = 300000;
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const isIdentityExpired: (identity: Identity) => boolean;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const doesIdentityRequireRefresh: (identity: Identity) => boolean;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface MemoizedIdentityProvider<IdentityT extends Identity> {
23
+ (options?: Record<string, any> & {
24
+ forceRefresh?: boolean;
25
+ }): Promise<IdentityT>;
26
+ }
27
+ /**
28
+ * @internal
29
+ */
30
+ export declare const memoizeIdentityProvider: <IdentityT extends Identity>(provider: IdentityT | IdentityProvider<IdentityT> | undefined, isExpired: (resolved: Identity) => boolean, requiresRefresh: (resolved: Identity) => boolean) => MemoizedIdentityProvider<IdentityT> | undefined;
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@smithy/core",
3
+ "version": "1.1.0",
4
+ "scripts": {
5
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
+ "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
7
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
8
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
9
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "test": "yarn g:jest"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "module": "./dist-es/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "author": {
20
+ "name": "AWS Smithy Team",
21
+ "email": "",
22
+ "url": "https://smithy.io"
23
+ },
24
+ "license": "Apache-2.0",
25
+ "dependencies": {
26
+ "@smithy/middleware-endpoint": "^2.2.3",
27
+ "@smithy/middleware-retry": "^2.0.24",
28
+ "@smithy/middleware-serde": "^2.0.15",
29
+ "@smithy/protocol-http": "^3.0.11",
30
+ "@smithy/smithy-client": "^2.1.18",
31
+ "@smithy/types": "^2.7.0",
32
+ "tslib": "^2.5.0"
33
+ },
34
+ "engines": {
35
+ "node": ">=14.0.0"
36
+ },
37
+ "typesVersions": {
38
+ "<4.0": {
39
+ "dist-types/*": [
40
+ "dist-types/ts3.4/*"
41
+ ]
42
+ }
43
+ },
44
+ "files": [
45
+ "dist-*/**"
46
+ ],
47
+ "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/core",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/awslabs/smithy-typescript.git",
51
+ "directory": "packages/core"
52
+ },
53
+ "devDependencies": {
54
+ "@tsconfig/recommended": "1.0.1",
55
+ "concurrently": "7.0.0",
56
+ "downlevel-dts": "0.10.1",
57
+ "rimraf": "3.0.2",
58
+ "typedoc": "0.23.23"
59
+ },
60
+ "typedoc": {
61
+ "entryPoint": "src/index.ts"
62
+ },
63
+ "publishConfig": {
64
+ "directory": ".release/package"
65
+ }
66
+ }
@@ -3,7 +3,7 @@
3
3
  [![NPM version](https://img.shields.io/npm/v/@smithy/signature-v4/latest.svg)](https://www.npmjs.com/package/@smithy/signature-v4)
4
4
  [![NPM downloads](https://img.shields.io/npm/dm/@smithy/signature-v4.svg)](https://www.npmjs.com/package/@smithy/signature-v4)
5
5
 
6
- This package contains an implementation of the (AWS Signature Version 4)[https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html]
6
+ This package contains an implementation of the [AWS Signature Version 4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html)
7
7
  authentication scheme.
8
8
 
9
9
  It is internal to Smithy-TypeScript generated clients, and not generally intended for standalone usage outside this context.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
package/package.json CHANGED
@@ -42,20 +42,20 @@
42
42
  "organization": false
43
43
  },
44
44
  "devDependencies": {
45
- "@cdk8s/projen-common": "0.0.475",
45
+ "@cdk8s/projen-common": "0.0.477",
46
46
  "@types/fs-extra": "^11.0.4",
47
47
  "@types/jest": "^27",
48
48
  "@types/node": "^16",
49
49
  "@typescript-eslint/eslint-plugin": "^6",
50
50
  "@typescript-eslint/parser": "^6",
51
- "aws-cdk": "^2.114.1",
51
+ "aws-cdk": "^2.115.0",
52
52
  "aws-cdk-lib": "2.109.0",
53
53
  "cdk8s": "2.68.4",
54
- "cdk8s-cli": "^2.198.6",
54
+ "cdk8s-cli": "^2.198.13",
55
55
  "constructs": "10.3.0",
56
56
  "eslint": "^8",
57
57
  "eslint-import-resolver-typescript": "^3.6.1",
58
- "eslint-plugin-import": "^2.29.0",
58
+ "eslint-plugin-import": "^2.29.1",
59
59
  "fs-extra": "^11.2.0",
60
60
  "jest": "^27",
61
61
  "jest-junit": "^15",
@@ -64,7 +64,7 @@
64
64
  "jsii-docgen": "^9.2.2",
65
65
  "jsii-pacmak": "^1.93.0",
66
66
  "jsii-rosetta": "^5",
67
- "projen": "^0.77.5",
67
+ "projen": "^0.77.6",
68
68
  "standard-version": "^9",
69
69
  "ts-jest": "^27",
70
70
  "ts-node": "^10.9.2",
@@ -92,7 +92,7 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "version": "0.0.41",
95
+ "version": "0.0.43",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1,4 +0,0 @@
1
- # @aws-sdk/middleware-sdk-sts
2
-
3
- [![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-sdk-sts/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-sts)
4
- [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-sdk-sts.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-sdk-sts)
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveStsAuthConfig = void 0;
4
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
5
- const resolveStsAuthConfig = (input, { stsClientCtor }) => (0, middleware_signing_1.resolveAwsAuthConfig)({
6
- ...input,
7
- stsClientCtor,
8
- });
9
- exports.resolveStsAuthConfig = resolveStsAuthConfig;
@@ -1,5 +0,0 @@
1
- import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
2
- export const resolveStsAuthConfig = (input, { stsClientCtor }) => resolveAwsAuthConfig({
3
- ...input,
4
- stsClientCtor,
5
- });