@mavogel/awscdk-rootmail 0.0.303 → 0.0.304

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 (174) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  7. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -0
  8. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -0
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -0
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +11 -11
  15. package/node_modules/@aws-sdk/client-route-53/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  16. package/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  17. package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  18. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -0
  21. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  22. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  23. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  24. package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  25. package/node_modules/@aws-sdk/client-route-53/package.json +11 -11
  26. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  27. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  28. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  29. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
  30. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
  32. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  33. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  34. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  35. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  36. package/node_modules/@aws-sdk/client-s3/package.json +15 -15
  37. package/node_modules/@aws-sdk/client-ses/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  38. package/node_modules/@aws-sdk/client-ses/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  39. package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  40. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -0
  42. package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  44. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/node_modules/@aws-sdk/client-ses/package.json +11 -11
  48. package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  49. package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  50. package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  51. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
  52. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
  54. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  55. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  56. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  57. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  58. package/node_modules/@aws-sdk/client-ssm/package.json +11 -11
  59. package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
  60. package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +3 -1
  61. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
  62. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
  63. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
  64. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
  65. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
  66. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  67. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  68. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  69. package/node_modules/@aws-sdk/client-sso/package.json +10 -10
  70. package/node_modules/@aws-sdk/core/package.json +4 -4
  71. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  72. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  73. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  74. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  75. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  76. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  77. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  78. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  79. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  80. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  81. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
  82. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
  83. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
  84. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
  85. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -1
  86. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
  87. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  88. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
  89. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -1
  90. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
  91. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  92. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
  93. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -0
  94. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
  95. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +4 -0
  96. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
  97. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -0
  98. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
  99. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
  100. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
  101. package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
  102. package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +8 -2
  103. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +55 -22
  104. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +62 -25
  105. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +5 -1
  106. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -3
  107. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  108. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  109. package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
  110. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
  111. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
  112. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
  113. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
  114. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
  115. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
  116. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
  117. package/node_modules/@smithy/core/package.json +1 -1
  118. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  119. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  120. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +1 -0
  121. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +196 -92
  122. package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +1 -0
  123. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +17 -73
  124. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +73 -0
  125. package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -0
  126. package/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js +3 -0
  127. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -59
  128. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +69 -0
  129. package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -0
  130. package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +24 -0
  131. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -59
  132. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
  133. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +4 -0
  134. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +24 -0
  135. package/node_modules/@smithy/signature-v4/package.json +1 -1
  136. package/node_modules/@smithy/smithy-client/package.json +3 -3
  137. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  138. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  139. package/node_modules/axios/CHANGELOG.md +27 -0
  140. package/node_modules/axios/README.md +5 -5
  141. package/node_modules/axios/dist/axios.js +32 -16
  142. package/node_modules/axios/dist/axios.js.map +1 -1
  143. package/node_modules/axios/dist/axios.min.js +2 -2
  144. package/node_modules/axios/dist/axios.min.js.map +1 -1
  145. package/node_modules/axios/dist/browser/axios.cjs +31 -13
  146. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  147. package/node_modules/axios/dist/esm/axios.js +31 -13
  148. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  149. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  150. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  151. package/node_modules/axios/dist/node/axios.cjs +32 -14
  152. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  153. package/node_modules/axios/index.d.cts +2 -2
  154. package/node_modules/axios/index.d.ts +4 -2
  155. package/node_modules/axios/lib/adapters/fetch.js +1 -1
  156. package/node_modules/axios/lib/core/Axios.js +1 -1
  157. package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
  158. package/node_modules/axios/lib/env/data.js +1 -1
  159. package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
  160. package/node_modules/axios/lib/utils.js +12 -6
  161. package/node_modules/axios/package.json +4 -4
  162. package/node_modules/cdk-nag/.jsii +3 -3
  163. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  164. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  165. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  166. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  167. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  168. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  169. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  170. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  171. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  172. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  173. package/node_modules/cdk-nag/package.json +2 -2
  174. package/package.json +1 -1
package/.jsii CHANGED
@@ -3998,7 +3998,7 @@
3998
3998
  "stability": "experimental"
3999
3999
  },
4000
4000
  "homepage": "https://github.com/MV-Consulting/awscdk-rootmail",
4001
- "jsiiVersion": "5.7.13 (build 0d3838b)",
4001
+ "jsiiVersion": "5.7.14 (build 92d9a33)",
4002
4002
  "keywords": [
4003
4003
  "aws",
4004
4004
  "cdk",
@@ -4447,6 +4447,6 @@
4447
4447
  "symbolId": "src/ses-receive:SESReceiveProps"
4448
4448
  }
4449
4449
  },
4450
- "version": "0.0.303",
4451
- "fingerprint": "h939mjNcAch/V0fOmeiY0s4ga4VIJpHe57duQl4uj1A="
4450
+ "version": "0.0.304",
4451
+ "fingerprint": "fuDK20MYe2TXcJuvl0CS3pkCll6t7HyDj4NrZZD7tSM="
4452
4452
  }
package/lib/rootmail.js CHANGED
@@ -82,7 +82,7 @@ class Rootmail extends constructs_1.Construct {
82
82
  }
83
83
  exports.Rootmail = Rootmail;
84
84
  _a = JSII_RTTI_SYMBOL_1;
85
- Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.303" };
85
+ Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.304" };
86
86
  /**
87
87
  * Aspect for setting all removal policies to DESTROY
88
88
  */
@@ -129,7 +129,7 @@ class SESReceive extends constructs_1.Construct {
129
129
  }
130
130
  exports.SESReceive = SESReceive;
131
131
  _a = JSII_RTTI_SYMBOL_1;
132
- SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.303" };
132
+ SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.304" };
133
133
  /**
134
134
  * Aspect for setting all removal policies to DESTROY
135
135
  */
@@ -40,6 +40,8 @@ const defaultCloudWatchLogsHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultCloudWatchLogsHttpAuthSchemeProvider = defaultCloudWatchLogsHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return Object.assign(config_0, {});
43
+ return Object.assign(config_0, {
44
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
45
+ });
44
46
  };
45
47
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -35,5 +35,7 @@ export const defaultCloudWatchLogsHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return Object.assign(config_0, {});
38
+ return Object.assign(config_0, {
39
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
40
+ });
39
41
  };
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { CloudWatchLogsClientResolvedConfig } from "../CloudWatchLogsClient";
4
4
  /**
5
5
  * @internal
@@ -29,6 +29,13 @@ export declare const defaultCloudWatchLogsHttpAuthSchemeProvider: CloudWatchLogs
29
29
  * @internal
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
32
39
  /**
33
40
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
41
  * @internal
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
44
51
  * @internal
45
52
  */
46
53
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
47
61
  /**
48
62
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
63
  * @internal
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
39
39
  }) => import("@smithy/types").EndpointV2;
40
40
  tls?: boolean | undefined;
41
41
  serviceConfiguredEndpoint?: undefined;
42
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
42
43
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
44
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
44
45
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
39
39
  }) => import("@smithy/types").EndpointV2;
40
40
  tls?: boolean | undefined;
41
41
  serviceConfiguredEndpoint?: undefined;
42
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
42
43
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
44
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
44
45
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
38
38
  }) => import("@smithy/types").EndpointV2;
39
39
  tls?: boolean | undefined;
40
40
  serviceConfiguredEndpoint?: undefined;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
41
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
43
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -9,6 +9,7 @@ import {
9
9
  HttpAuthSchemeParameters,
10
10
  HttpAuthSchemeParametersProvider,
11
11
  HttpAuthSchemeProvider,
12
+ Provider,
12
13
  } from "@smithy/types";
13
14
  import { CloudWatchLogsClientResolvedConfig } from "../CloudWatchLogsClient";
14
15
  export interface CloudWatchLogsHttpAuthSchemeParameters
@@ -31,11 +32,13 @@ export interface CloudWatchLogsHttpAuthSchemeProvider
31
32
  extends HttpAuthSchemeProvider<CloudWatchLogsHttpAuthSchemeParameters> {}
32
33
  export declare const defaultCloudWatchLogsHttpAuthSchemeProvider: CloudWatchLogsHttpAuthSchemeProvider;
33
34
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
34
36
  httpAuthSchemes?: HttpAuthScheme[];
35
37
  httpAuthSchemeProvider?: CloudWatchLogsHttpAuthSchemeProvider;
36
38
  }
37
39
  export interface HttpAuthSchemeResolvedConfig
38
40
  extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
39
42
  readonly httpAuthSchemes: HttpAuthScheme[];
40
43
  readonly httpAuthSchemeProvider: CloudWatchLogsHttpAuthSchemeProvider;
41
44
  }
@@ -73,6 +73,10 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
73
73
  ) => import("@smithy/types").EndpointV2;
74
74
  tls?: boolean | undefined;
75
75
  serviceConfiguredEndpoint?: undefined;
76
+ authSchemePreference?:
77
+ | string[]
78
+ | import("@smithy/types").Provider<string[]>
79
+ | undefined;
76
80
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
81
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
78
82
  credentials?:
@@ -74,6 +74,10 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
74
74
  ) => import("@smithy/types").EndpointV2;
75
75
  tls?: boolean | undefined;
76
76
  serviceConfiguredEndpoint?: undefined;
77
+ authSchemePreference?:
78
+ | string[]
79
+ | import("@smithy/types").Provider<string[]>
80
+ | undefined;
77
81
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
82
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
79
83
  credentials?:
@@ -77,6 +77,10 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
77
77
  ) => import("@smithy/types").EndpointV2;
78
78
  tls?: boolean | undefined;
79
79
  serviceConfiguredEndpoint?: undefined;
80
+ authSchemePreference?:
81
+ | string[]
82
+ | import("@smithy/types").Provider<string[]>
83
+ | undefined;
80
84
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
85
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
82
86
  credentials?:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
4
- "version": "3.787.0",
4
+ "version": "3.798.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.798.0",
24
+ "@aws-sdk/credential-provider-node": "3.798.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.787.0",
28
+ "@aws-sdk/middleware-user-agent": "3.798.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.787.0",
33
+ "@aws-sdk/util-user-agent-node": "3.798.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.2.0",
35
+ "@smithy/core": "^3.3.0",
36
36
  "@smithy/eventstream-serde-browser": "^4.0.2",
37
37
  "@smithy/eventstream-serde-config-resolver": "^4.1.0",
38
38
  "@smithy/eventstream-serde-node": "^4.0.2",
@@ -40,21 +40,21 @@
40
40
  "@smithy/hash-node": "^4.0.2",
41
41
  "@smithy/invalid-dependency": "^4.0.2",
42
42
  "@smithy/middleware-content-length": "^4.0.2",
43
- "@smithy/middleware-endpoint": "^4.1.0",
44
- "@smithy/middleware-retry": "^4.1.0",
43
+ "@smithy/middleware-endpoint": "^4.1.1",
44
+ "@smithy/middleware-retry": "^4.1.1",
45
45
  "@smithy/middleware-serde": "^4.0.3",
46
46
  "@smithy/middleware-stack": "^4.0.2",
47
47
  "@smithy/node-config-provider": "^4.0.2",
48
48
  "@smithy/node-http-handler": "^4.0.4",
49
49
  "@smithy/protocol-http": "^5.1.0",
50
- "@smithy/smithy-client": "^4.2.0",
50
+ "@smithy/smithy-client": "^4.2.1",
51
51
  "@smithy/types": "^4.2.0",
52
52
  "@smithy/url-parser": "^4.0.2",
53
53
  "@smithy/util-base64": "^4.0.0",
54
54
  "@smithy/util-body-length-browser": "^4.0.0",
55
55
  "@smithy/util-body-length-node": "^4.0.0",
56
- "@smithy/util-defaults-mode-browser": "^4.0.8",
57
- "@smithy/util-defaults-mode-node": "^4.0.8",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.9",
57
+ "@smithy/util-defaults-mode-node": "^4.0.9",
58
58
  "@smithy/util-endpoints": "^3.0.2",
59
59
  "@smithy/util-middleware": "^4.0.2",
60
60
  "@smithy/util-retry": "^4.0.2",
@@ -40,6 +40,8 @@ const defaultRoute53HttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultRoute53HttpAuthSchemeProvider = defaultRoute53HttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return Object.assign(config_0, {});
43
+ return Object.assign(config_0, {
44
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
45
+ });
44
46
  };
45
47
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -35,5 +35,7 @@ export const defaultRoute53HttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return Object.assign(config_0, {});
38
+ return Object.assign(config_0, {
39
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
40
+ });
39
41
  };
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { Route53ClientResolvedConfig } from "../Route53Client";
4
4
  /**
5
5
  * @internal
@@ -29,6 +29,13 @@ export declare const defaultRoute53HttpAuthSchemeProvider: Route53HttpAuthScheme
29
29
  * @internal
30
30
  */
31
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
32
39
  /**
33
40
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
41
  * @internal
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
44
51
  * @internal
45
52
  */
46
53
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
47
61
  /**
48
62
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
63
  * @internal
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
38
38
  }) => import("@smithy/types").EndpointV2;
39
39
  tls?: boolean | undefined;
40
40
  serviceConfiguredEndpoint?: undefined;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
41
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
43
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
38
38
  }) => import("@smithy/types").EndpointV2;
39
39
  tls?: boolean | undefined;
40
40
  serviceConfiguredEndpoint?: undefined;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
41
42
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
43
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
43
44
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
37
37
  }) => import("@smithy/types").EndpointV2;
38
38
  tls?: boolean | undefined;
39
39
  serviceConfiguredEndpoint?: undefined;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
40
41
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
42
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
42
43
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -9,6 +9,7 @@ import {
9
9
  HttpAuthSchemeParameters,
10
10
  HttpAuthSchemeParametersProvider,
11
11
  HttpAuthSchemeProvider,
12
+ Provider,
12
13
  } from "@smithy/types";
13
14
  import { Route53ClientResolvedConfig } from "../Route53Client";
14
15
  export interface Route53HttpAuthSchemeParameters
@@ -31,11 +32,13 @@ export interface Route53HttpAuthSchemeProvider
31
32
  extends HttpAuthSchemeProvider<Route53HttpAuthSchemeParameters> {}
32
33
  export declare const defaultRoute53HttpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
33
34
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
34
36
  httpAuthSchemes?: HttpAuthScheme[];
35
37
  httpAuthSchemeProvider?: Route53HttpAuthSchemeProvider;
36
38
  }
37
39
  export interface HttpAuthSchemeResolvedConfig
38
40
  extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
39
42
  readonly httpAuthSchemes: HttpAuthScheme[];
40
43
  readonly httpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
41
44
  }
@@ -72,6 +72,10 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
72
72
  ) => import("@smithy/types").EndpointV2;
73
73
  tls?: boolean | undefined;
74
74
  serviceConfiguredEndpoint?: undefined;
75
+ authSchemePreference?:
76
+ | string[]
77
+ | import("@smithy/types").Provider<string[]>
78
+ | undefined;
75
79
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
76
80
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
77
81
  credentials?:
@@ -73,6 +73,10 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
73
73
  ) => import("@smithy/types").EndpointV2;
74
74
  tls?: boolean | undefined;
75
75
  serviceConfiguredEndpoint?: undefined;
76
+ authSchemePreference?:
77
+ | string[]
78
+ | import("@smithy/types").Provider<string[]>
79
+ | undefined;
76
80
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
81
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
78
82
  credentials?:
@@ -76,6 +76,10 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
76
76
  ) => import("@smithy/types").EndpointV2;
77
77
  tls?: boolean | undefined;
78
78
  serviceConfiguredEndpoint?: undefined;
79
+ authSchemePreference?:
80
+ | string[]
81
+ | import("@smithy/types").Provider<string[]>
82
+ | undefined;
79
83
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
84
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
81
85
  credentials?:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.787.0",
4
+ "version": "3.798.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-route-53",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.798.0",
24
+ "@aws-sdk/credential-provider-node": "3.798.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
28
  "@aws-sdk/middleware-sdk-route53": "3.775.0",
29
- "@aws-sdk/middleware-user-agent": "3.787.0",
29
+ "@aws-sdk/middleware-user-agent": "3.798.0",
30
30
  "@aws-sdk/region-config-resolver": "3.775.0",
31
31
  "@aws-sdk/types": "3.775.0",
32
32
  "@aws-sdk/util-endpoints": "3.787.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.775.0",
34
- "@aws-sdk/util-user-agent-node": "3.787.0",
34
+ "@aws-sdk/util-user-agent-node": "3.798.0",
35
35
  "@aws-sdk/xml-builder": "3.775.0",
36
36
  "@smithy/config-resolver": "^4.1.0",
37
- "@smithy/core": "^3.2.0",
37
+ "@smithy/core": "^3.3.0",
38
38
  "@smithy/fetch-http-handler": "^5.0.2",
39
39
  "@smithy/hash-node": "^4.0.2",
40
40
  "@smithy/invalid-dependency": "^4.0.2",
41
41
  "@smithy/middleware-content-length": "^4.0.2",
42
- "@smithy/middleware-endpoint": "^4.1.0",
43
- "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-endpoint": "^4.1.1",
43
+ "@smithy/middleware-retry": "^4.1.1",
44
44
  "@smithy/middleware-serde": "^4.0.3",
45
45
  "@smithy/middleware-stack": "^4.0.2",
46
46
  "@smithy/node-config-provider": "^4.0.2",
47
47
  "@smithy/node-http-handler": "^4.0.4",
48
48
  "@smithy/protocol-http": "^5.1.0",
49
- "@smithy/smithy-client": "^4.2.0",
49
+ "@smithy/smithy-client": "^4.2.1",
50
50
  "@smithy/types": "^4.2.0",
51
51
  "@smithy/url-parser": "^4.0.2",
52
52
  "@smithy/util-base64": "^4.0.0",
53
53
  "@smithy/util-body-length-browser": "^4.0.0",
54
54
  "@smithy/util-body-length-node": "^4.0.0",
55
- "@smithy/util-defaults-mode-browser": "^4.0.8",
56
- "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.9",
56
+ "@smithy/util-defaults-mode-node": "^4.0.9",
57
57
  "@smithy/util-endpoints": "^3.0.2",
58
58
  "@smithy/util-middleware": "^4.0.2",
59
59
  "@smithy/util-retry": "^4.0.2",
@@ -120,6 +120,8 @@ exports.defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSchemePro
120
120
  const resolveHttpAuthSchemeConfig = (config) => {
121
121
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
122
122
  const config_1 = (0, core_1.resolveAwsSdkSigV4AConfig)(config_0);
123
- return Object.assign(config_1, {});
123
+ return Object.assign(config_1, {
124
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
125
+ });
124
126
  };
125
127
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -117,5 +117,7 @@ export const defaultS3HttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSche
117
117
  export const resolveHttpAuthSchemeConfig = (config) => {
118
118
  const config_0 = resolveAwsSdkSigV4Config(config);
119
119
  const config_1 = resolveAwsSdkSigV4AConfig(config_0);
120
- return Object.assign(config_1, {});
120
+ return Object.assign(config_1, {
121
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
122
+ });
121
123
  };
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { EndpointParameters } from "../endpoint/EndpointParameters";
4
4
  import { S3ClientResolvedConfig } from "../S3Client";
5
5
  /**
@@ -36,6 +36,13 @@ export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
36
36
  * @internal
37
37
  */
38
38
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
39
+ /**
40
+ * A comma-separated list of case-sensitive auth scheme names.
41
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
42
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
43
+ * @public
44
+ */
45
+ authSchemePreference?: string[] | Provider<string[]>;
39
46
  /**
40
47
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
48
  * @internal
@@ -51,6 +58,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, A
51
58
  * @internal
52
59
  */
53
60
  export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
61
+ /**
62
+ * A comma-separated list of case-sensitive auth scheme names.
63
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
64
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
65
+ * @public
66
+ */
67
+ readonly authSchemePreference: Provider<string[]>;
54
68
  /**
55
69
  * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
56
70
  * @internal
@@ -50,6 +50,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
50
50
  }) => import("@smithy/types").EndpointV2;
51
51
  tls?: boolean | undefined;
52
52
  serviceConfiguredEndpoint?: undefined;
53
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
53
54
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
54
55
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
55
56
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -53,6 +53,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
53
53
  }) => import("@aws-sdk/types").EndpointV2;
54
54
  tls?: boolean | undefined;
55
55
  serviceConfiguredEndpoint?: undefined;
56
+ authSchemePreference?: string[] | import("@aws-sdk/types").Provider<string[]> | undefined;
56
57
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
58
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
58
59
  credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider | undefined;
@@ -49,6 +49,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
49
49
  }) => import("@smithy/types").EndpointV2;
50
50
  tls?: boolean | undefined;
51
51
  serviceConfiguredEndpoint?: undefined;
52
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
52
53
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
53
54
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
54
55
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -12,6 +12,7 @@ import {
12
12
  HttpAuthSchemeParameters,
13
13
  HttpAuthSchemeParametersProvider,
14
14
  HttpAuthSchemeProvider,
15
+ Provider,
15
16
  } from "@smithy/types";
16
17
  import { EndpointParameters } from "../endpoint/EndpointParameters";
17
18
  import { S3ClientResolvedConfig } from "../S3Client";
@@ -37,12 +38,14 @@ export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
37
38
  export interface HttpAuthSchemeInputConfig
38
39
  extends AwsSdkSigV4AuthInputConfig,
39
40
  AwsSdkSigV4AAuthInputConfig {
41
+ authSchemePreference?: string[] | Provider<string[]>;
40
42
  httpAuthSchemes?: HttpAuthScheme[];
41
43
  httpAuthSchemeProvider?: S3HttpAuthSchemeProvider;
42
44
  }
43
45
  export interface HttpAuthSchemeResolvedConfig
44
46
  extends AwsSdkSigV4AuthResolvedConfig,
45
47
  AwsSdkSigV4AAuthResolvedConfig {
48
+ readonly authSchemePreference: Provider<string[]>;
46
49
  readonly httpAuthSchemes: HttpAuthScheme[];
47
50
  readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
48
51
  }
@@ -99,6 +99,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
99
99
  ) => import("@smithy/types").EndpointV2;
100
100
  tls?: boolean | undefined;
101
101
  serviceConfiguredEndpoint?: undefined;
102
+ authSchemePreference?:
103
+ | string[]
104
+ | import("@smithy/types").Provider<string[]>
105
+ | undefined;
102
106
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
103
107
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
104
108
  credentials?:
@@ -109,6 +109,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
109
109
  ) => import("@aws-sdk/types").EndpointV2;
110
110
  tls?: boolean | undefined;
111
111
  serviceConfiguredEndpoint?: undefined;
112
+ authSchemePreference?:
113
+ | string[]
114
+ | import("@aws-sdk/types").Provider<string[]>
115
+ | undefined;
112
116
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
113
117
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
114
118
  credentials?:
@@ -103,6 +103,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
103
103
  ) => import("@smithy/types").EndpointV2;
104
104
  tls?: boolean | undefined;
105
105
  serviceConfiguredEndpoint?: undefined;
106
+ authSchemePreference?:
107
+ | string[]
108
+ | import("@smithy/types").Provider<string[]>
109
+ | undefined;
106
110
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
107
111
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
108
112
  credentials?: