@mavogel/awscdk-rootmail 0.0.114 → 0.0.115

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 (92) hide show
  1. package/.jsii +9 -9
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +5 -5
  5. package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
  6. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  7. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +67 -13
  8. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
  9. package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +15 -6
  10. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  11. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +122 -0
  12. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
  13. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
  14. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +15 -14
  15. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  16. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  17. package/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
  18. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +6 -4
  19. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +4 -2
  20. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +6 -4
  21. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +13 -15
  23. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  24. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  25. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -6
  27. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  28. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
  29. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  30. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  31. package/node_modules/@aws-sdk/client-ses/package.json +5 -5
  32. package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
  33. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  34. package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
  35. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  36. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +16 -3
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -1
  38. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
  40. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +5 -1
  41. package/node_modules/@aws-sdk/core/package.json +1 -1
  42. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  43. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  44. package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
  45. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +92 -10
  46. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +24 -10
  47. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +39 -0
  48. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +7 -0
  49. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +1 -0
  50. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +27 -0
  51. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +13 -0
  52. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +1 -0
  53. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +40 -0
  54. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts +27 -0
  55. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +5 -0
  56. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -1
  57. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  58. package/node_modules/cdk-nag/.jsii +2 -2
  59. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  60. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  61. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  62. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  63. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  64. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  65. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  66. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  67. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  68. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  69. package/node_modules/cdk-nag/package.json +1 -1
  70. package/package.json +7 -7
  71. package/node_modules/@aws-sdk/middleware-signing/LICENSE +0 -201
  72. package/node_modules/@aws-sdk/middleware-signing/README.md +0 -4
  73. package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +0 -269
  74. package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +0 -115
  75. package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js +0 -81
  76. package/node_modules/@aws-sdk/middleware-signing/dist-es/index.js +0 -2
  77. package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js +0 -1
  78. package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js +0 -8
  79. package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js +0 -2
  80. package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +0 -99
  81. package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthMiddleware.d.ts +0 -6
  82. package/node_modules/@aws-sdk/middleware-signing/dist-types/index.d.ts +0 -2
  83. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthConfiguration.d.ts +0 -68
  84. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthMiddleware.d.ts +0 -19
  85. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/index.d.ts +0 -2
  86. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getSkewCorrectedDate.d.ts +0 -1
  87. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getUpdatedSystemClockOffset.d.ts +0 -4
  88. package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/isClockSkewed.d.ts +0 -4
  89. package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getSkewCorrectedDate.d.ts +0 -6
  90. package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getUpdatedSystemClockOffset.d.ts +0 -8
  91. package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/isClockSkewed.d.ts +0 -7
  92. package/node_modules/@aws-sdk/middleware-signing/package.json +0 -59
@@ -1,12 +1,14 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
4
5
  const asPartial = (t) => t;
5
6
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
7
  const extensionConfiguration = {
7
8
  ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
8
9
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
9
10
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
10
12
  };
11
13
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
12
14
  return {
@@ -14,5 +16,6 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
14
16
  ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
15
17
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
16
18
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
17
20
  };
18
21
  };
@@ -1,17 +1,17 @@
1
1
  /// <reference types="node" />
2
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
3
  import { S3InputConfig, S3ResolvedConfig } from "@aws-sdk/middleware-sdk-s3";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
4
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { Credentials as __Credentials, GetAwsChunkedEncodingStream } from "@aws-sdk/types";
5
+ import { GetAwsChunkedEncodingStream } from "@aws-sdk/types";
7
6
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
8
7
  import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
9
8
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
10
9
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
11
10
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
12
11
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
13
- import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
14
13
  import { Readable } from "stream";
14
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
15
15
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
16
16
  import { CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput } from "./commands/CompleteMultipartUploadCommand";
17
17
  import { CopyObjectCommandInput, CopyObjectCommandOutput } from "./commands/CopyObjectCommand";
@@ -224,17 +224,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
224
224
  getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream;
225
225
  /**
226
226
  * Default credentials provider; Not available in browser runtime.
227
+ * @deprecated
227
228
  * @internal
228
229
  */
229
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
230
- /**
231
- * Whether to escape request path when signing the request.
232
- */
233
- signingEscapePath?: boolean;
234
- /**
235
- * Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false.
236
- */
237
- useArnRegion?: boolean | Provider<boolean>;
230
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
238
231
  /**
239
232
  * Value for how many times a request will be made at most in case of retry.
240
233
  */
@@ -261,6 +254,14 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
261
254
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
262
255
  */
263
256
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
257
+ /**
258
+ * Whether to escape request path when signing the request.
259
+ */
260
+ signingEscapePath?: boolean;
261
+ /**
262
+ * Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false.
263
+ */
264
+ useArnRegion?: boolean | Provider<boolean>;
264
265
  /**
265
266
  * The internal function that inject utilities to runtime-specific stream to help users consume the data
266
267
  * @internal
@@ -270,7 +271,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
270
271
  /**
271
272
  * @public
272
273
  */
273
- export type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & AwsAuthInputConfig & S3InputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
274
+ export type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & S3InputConfig & ClientInputEndpointParameters;
274
275
  /**
275
276
  * @public
276
277
  *
@@ -281,7 +282,7 @@ export interface S3ClientConfig extends S3ClientConfigType {
281
282
  /**
282
283
  * @public
283
284
  */
284
- export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & AwsAuthResolvedConfig & S3ResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
285
+ export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & S3ResolvedConfig & ClientResolvedEndpointParameters;
285
286
  /**
286
287
  * @public
287
288
  *
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { S3HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: S3HttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): S3HttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,69 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
4
+ import { S3ClientResolvedConfig } from "../S3Client";
5
+ /**
6
+ * @internal
7
+ */
8
+ interface _S3HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
9
+ region?: string;
10
+ }
11
+ /**
12
+ * @internal
13
+ */
14
+ export interface S3HttpAuthSchemeParameters extends _S3HttpAuthSchemeParameters, EndpointParameters {
15
+ region?: string;
16
+ }
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface S3HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<S3ClientResolvedConfig, HandlerExecutionContext, S3HttpAuthSchemeParameters, object> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultS3HttpAuthSchemeParametersProvider: S3HttpAuthSchemeParametersProvider;
26
+ /**
27
+ * @internal
28
+ */
29
+ export interface S3HttpAuthSchemeProvider extends HttpAuthSchemeProvider<S3HttpAuthSchemeParameters> {
30
+ }
31
+ /**
32
+ * @internal
33
+ */
34
+ export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
35
+ /**
36
+ * @internal
37
+ */
38
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: S3HttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
56
+ * @internal
57
+ */
58
+ readonly httpAuthSchemes: HttpAuthScheme[];
59
+ /**
60
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
61
+ * @internal
62
+ */
63
+ readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
64
+ }
65
+ /**
66
+ * @internal
67
+ */
68
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
69
+ export {};
@@ -1,8 +1,9 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
5
  /**
5
6
  * @internal
6
7
  */
7
- export interface S3ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ export interface S3ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
8
9
  }
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
8
8
  runtime: string;
9
9
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
13
13
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
14
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -31,10 +31,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
34
- signingEscapePath: boolean;
35
- useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
36
34
  logger: import("@smithy/types").Logger;
37
35
  extensions: import("./runtimeExtensions").RuntimeExtension[];
36
+ signingEscapePath: boolean;
37
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
38
38
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
39
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
@@ -43,7 +43,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
43
43
  logger?: import("@smithy/types").Logger | undefined;
44
44
  }) => import("@smithy/types").EndpointV2;
45
45
  tls?: boolean | undefined;
46
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
46
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
47
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
48
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
47
49
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
48
50
  systemClockOffset?: number | undefined;
49
51
  signingRegion?: string | undefined;
@@ -34,9 +34,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
36
  getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
37
- signingEscapePath: boolean;
38
37
  logger: import("@aws-sdk/types").Logger;
39
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ signingEscapePath: boolean;
40
40
  sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
41
41
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
42
42
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
@@ -45,7 +45,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
45
45
  logger?: import("@aws-sdk/types").Logger | undefined;
46
46
  }) => import("@aws-sdk/types").EndpointV2;
47
47
  tls?: boolean | undefined;
48
- credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
48
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
50
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider | undefined;
49
51
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
50
52
  systemClockOffset?: number | undefined;
51
53
  signingRegion?: string | undefined;
@@ -25,15 +25,15 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
25
25
  md5: import("@smithy/types").HashConstructor;
26
26
  sha1: import("@smithy/types").HashConstructor;
27
27
  getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
28
- credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
29
- signingEscapePath: boolean;
30
- useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
28
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
31
29
  maxAttempts: number | import("@smithy/types").Provider<number>;
32
30
  retryMode: string | import("@smithy/types").Provider<string>;
33
31
  logger: import("@smithy/types").Logger;
34
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
33
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
36
34
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
35
+ signingEscapePath: boolean;
36
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
37
37
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
38
38
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
@@ -42,7 +42,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
42
42
  logger?: import("@smithy/types").Logger | undefined;
43
43
  }) => import("@smithy/types").EndpointV2;
44
44
  tls?: boolean | undefined;
45
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
45
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
46
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
47
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
46
48
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
47
49
  systemClockOffset?: number | undefined;
48
50
  signingRegion?: string | undefined;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
14
14
  }) => import("@smithy/types").EndpointV2;
15
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
16
16
  getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
17
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
18
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
19
  logger: import("@smithy/types").Logger;
18
20
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
19
21
  serviceId: string;
@@ -3,18 +3,11 @@ import {
3
3
  HostHeaderResolvedConfig,
4
4
  } from "@aws-sdk/middleware-host-header";
5
5
  import { S3InputConfig, S3ResolvedConfig } from "@aws-sdk/middleware-sdk-s3";
6
- import {
7
- AwsAuthInputConfig,
8
- AwsAuthResolvedConfig,
9
- } from "@aws-sdk/middleware-signing";
10
6
  import {
11
7
  UserAgentInputConfig,
12
8
  UserAgentResolvedConfig,
13
9
  } from "@aws-sdk/middleware-user-agent";
14
- import {
15
- Credentials as __Credentials,
16
- GetAwsChunkedEncodingStream,
17
- } from "@aws-sdk/types";
10
+ import { GetAwsChunkedEncodingStream } from "@aws-sdk/types";
18
11
  import {
19
12
  RegionInputConfig,
20
13
  RegionResolvedConfig,
@@ -39,6 +32,7 @@ import {
39
32
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
40
33
  } from "@smithy/smithy-client";
41
34
  import {
35
+ AwsCredentialIdentityProvider,
42
36
  BodyLengthCalculator as __BodyLengthCalculator,
43
37
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
44
38
  ChecksumConstructor as __ChecksumConstructor,
@@ -57,6 +51,10 @@ import {
57
51
  UserAgent as __UserAgent,
58
52
  } from "@smithy/types";
59
53
  import { Readable } from "stream";
54
+ import {
55
+ HttpAuthSchemeInputConfig,
56
+ HttpAuthSchemeResolvedConfig,
57
+ } from "./auth/httpAuthSchemeProvider";
60
58
  import {
61
59
  AbortMultipartUploadCommandInput,
62
60
  AbortMultipartUploadCommandOutput,
@@ -658,15 +656,15 @@ export interface ClientDefaults
658
656
  md5?: __ChecksumConstructor | __HashConstructor;
659
657
  sha1?: __ChecksumConstructor | __HashConstructor;
660
658
  getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream;
661
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
662
- signingEscapePath?: boolean;
663
- useArnRegion?: boolean | Provider<boolean>;
659
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
664
660
  maxAttempts?: number | __Provider<number>;
665
661
  retryMode?: string | __Provider<string>;
666
662
  logger?: __Logger;
667
663
  extensions?: RuntimeExtension[];
668
664
  eventStreamSerdeProvider?: __EventStreamSerdeProvider;
669
665
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
666
+ signingEscapePath?: boolean;
667
+ useArnRegion?: boolean | Provider<boolean>;
670
668
  sdkStreamMixin?: __SdkStreamMixinInjector;
671
669
  }
672
670
  export type S3ClientConfigType = Partial<
@@ -678,9 +676,9 @@ export type S3ClientConfigType = Partial<
678
676
  RegionInputConfig &
679
677
  HostHeaderInputConfig &
680
678
  EndpointInputConfig<EndpointParameters> &
681
- AwsAuthInputConfig &
682
- S3InputConfig &
683
679
  EventStreamSerdeInputConfig &
680
+ HttpAuthSchemeInputConfig &
681
+ S3InputConfig &
684
682
  ClientInputEndpointParameters;
685
683
  export interface S3ClientConfig extends S3ClientConfigType {}
686
684
  export type S3ClientResolvedConfigType =
@@ -692,9 +690,9 @@ export type S3ClientResolvedConfigType =
692
690
  RegionResolvedConfig &
693
691
  HostHeaderResolvedConfig &
694
692
  EndpointResolvedConfig<EndpointParameters> &
695
- AwsAuthResolvedConfig &
696
- S3ResolvedConfig &
697
693
  EventStreamSerdeResolvedConfig &
694
+ HttpAuthSchemeResolvedConfig &
695
+ S3ResolvedConfig &
698
696
  ClientResolvedEndpointParameters;
699
697
  export interface S3ClientResolvedConfig extends S3ClientResolvedConfigType {}
700
698
  export declare class S3Client extends __Client<
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { S3HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: S3HttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): S3HttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,46 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
14
+ import { S3ClientResolvedConfig } from "../S3Client";
15
+ interface _S3HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface S3HttpAuthSchemeParameters
19
+ extends _S3HttpAuthSchemeParameters,
20
+ EndpointParameters {
21
+ region?: string;
22
+ }
23
+ export interface S3HttpAuthSchemeParametersProvider
24
+ extends HttpAuthSchemeParametersProvider<
25
+ S3ClientResolvedConfig,
26
+ HandlerExecutionContext,
27
+ S3HttpAuthSchemeParameters,
28
+ object
29
+ > {}
30
+ export declare const defaultS3HttpAuthSchemeParametersProvider: S3HttpAuthSchemeParametersProvider;
31
+ export interface S3HttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<S3HttpAuthSchemeParameters> {}
33
+ export declare const defaultS3HttpAuthSchemeProvider: S3HttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ httpAuthSchemes?: HttpAuthScheme[];
36
+ httpAuthSchemeProvider?: S3HttpAuthSchemeProvider;
37
+ }
38
+ export interface HttpAuthSchemeResolvedConfig
39
+ extends AwsSdkSigV4AuthResolvedConfig {
40
+ readonly httpAuthSchemes: HttpAuthScheme[];
41
+ readonly httpAuthSchemeProvider: S3HttpAuthSchemeProvider;
42
+ }
43
+ export declare const resolveHttpAuthSchemeConfig: <T>(
44
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
45
+ ) => T & HttpAuthSchemeResolvedConfig;
46
+ export {};
@@ -1,7 +1,9 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
5
  export interface S3ExtensionConfiguration
5
6
  extends HttpHandlerExtensionConfiguration,
6
7
  DefaultExtensionConfiguration,
7
- AwsRegionExtensionConfiguration {}
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: import("@smithy/types").Provider<
13
13
  import("@smithy/types").UserAgent
14
14
  >;
@@ -41,10 +41,10 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
41
41
  | import("@smithy/types").GetAwsChunkedEncodingStream<
42
42
  import("stream").Readable
43
43
  >;
44
- signingEscapePath: boolean;
45
- useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
46
44
  logger: import("@smithy/types").Logger;
47
45
  extensions: import("./runtimeExtensions").RuntimeExtension[];
46
+ signingEscapePath: boolean;
47
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
48
48
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
49
49
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
50
50
  retryStrategy?:
@@ -75,11 +75,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
75
75
  }
76
76
  ) => import("@smithy/types").EndpointV2;
77
77
  tls?: boolean | undefined;
78
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
79
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
78
80
  credentials?:
79
81
  | import("@smithy/types").AwsCredentialIdentity
80
- | import("@smithy/types").Provider<
81
- import("@smithy/types").AwsCredentialIdentity
82
- >
82
+ | import("@smithy/types").AwsCredentialIdentityProvider
83
83
  | undefined;
84
84
  signer?:
85
85
  | import("@smithy/types").RequestSigner
@@ -50,9 +50,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
50
50
  | import("@aws-sdk/types").GetAwsChunkedEncodingStream<
51
51
  import("stream").Readable
52
52
  >;
53
- signingEscapePath: boolean;
54
53
  logger: import("@aws-sdk/types").Logger;
55
54
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ signingEscapePath: boolean;
56
56
  sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
57
57
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
58
58
  retryStrategy?:
@@ -85,11 +85,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
85
85
  }
86
86
  ) => import("@aws-sdk/types").EndpointV2;
87
87
  tls?: boolean | undefined;
88
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
89
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
88
90
  credentials?:
89
91
  | import("@aws-sdk/types").AwsCredentialIdentity
90
- | import("@aws-sdk/types").Provider<
91
- import("@aws-sdk/types").AwsCredentialIdentity
92
- >
92
+ | import("@aws-sdk/types").AwsCredentialIdentityProvider
93
93
  | undefined;
94
94
  signer?:
95
95
  | import("@aws-sdk/types").RequestSigner
@@ -36,9 +36,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
36
36
  >;
37
37
  credentialDefaultProvider: (
38
38
  input: any
39
- ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
40
- signingEscapePath: boolean;
41
- useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
39
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
42
40
  maxAttempts: number | import("@smithy/types").Provider<number>;
43
41
  retryMode: string | import("@smithy/types").Provider<string>;
44
42
  logger: import("@smithy/types").Logger;
@@ -49,6 +47,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
49
47
  | import("@smithy/types").Provider<
50
48
  import("@smithy/smithy-client").DefaultsMode
51
49
  >;
50
+ signingEscapePath: boolean;
51
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
52
52
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
54
54
  retryStrategy?:
@@ -69,11 +69,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
69
69
  }
70
70
  ) => import("@smithy/types").EndpointV2;
71
71
  tls?: boolean | undefined;
72
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
73
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
72
74
  credentials?:
73
75
  | import("@smithy/types").AwsCredentialIdentity
74
- | import("@smithy/types").Provider<
75
- import("@smithy/types").AwsCredentialIdentity
76
- >
76
+ | import("@smithy/types").AwsCredentialIdentityProvider
77
77
  | undefined;
78
78
  signer?:
79
79
  | import("@smithy/types").RequestSigner
@@ -17,6 +17,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
17
17
  | import("@smithy/types").GetAwsChunkedEncodingStream<
18
18
  import("stream").Readable
19
19
  >;
20
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
21
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
20
22
  logger: import("@smithy/types").Logger;
21
23
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
22
24
  serviceId: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.623.0",
4
+ "version": "3.624.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-s3",
@@ -26,10 +26,10 @@
26
26
  "@aws-crypto/sha1-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-js": "5.2.0",
29
- "@aws-sdk/client-sso-oidc": "3.623.0",
30
- "@aws-sdk/client-sts": "3.623.0",
31
- "@aws-sdk/core": "3.623.0",
32
- "@aws-sdk/credential-provider-node": "3.623.0",
29
+ "@aws-sdk/client-sso-oidc": "3.624.0",
30
+ "@aws-sdk/client-sts": "3.624.0",
31
+ "@aws-sdk/core": "3.624.0",
32
+ "@aws-sdk/credential-provider-node": "3.624.0",
33
33
  "@aws-sdk/middleware-bucket-endpoint": "3.620.0",
34
34
  "@aws-sdk/middleware-expect-continue": "3.620.0",
35
35
  "@aws-sdk/middleware-flexible-checksums": "3.620.0",
@@ -37,12 +37,11 @@
37
37
  "@aws-sdk/middleware-location-constraint": "3.609.0",
38
38
  "@aws-sdk/middleware-logger": "3.609.0",
39
39
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
40
- "@aws-sdk/middleware-sdk-s3": "3.622.0",
41
- "@aws-sdk/middleware-signing": "3.620.0",
40
+ "@aws-sdk/middleware-sdk-s3": "3.624.0",
42
41
  "@aws-sdk/middleware-ssec": "3.609.0",
43
42
  "@aws-sdk/middleware-user-agent": "3.620.0",
44
43
  "@aws-sdk/region-config-resolver": "3.614.0",
45
- "@aws-sdk/signature-v4-multi-region": "3.622.0",
44
+ "@aws-sdk/signature-v4-multi-region": "3.624.0",
46
45
  "@aws-sdk/types": "3.609.0",
47
46
  "@aws-sdk/util-endpoints": "3.614.0",
48
47
  "@aws-sdk/util-user-agent-browser": "3.609.0",
@@ -76,6 +75,7 @@
76
75
  "@smithy/util-defaults-mode-browser": "^3.0.14",
77
76
  "@smithy/util-defaults-mode-node": "^3.0.14",
78
77
  "@smithy/util-endpoints": "^2.0.5",
78
+ "@smithy/util-middleware": "^3.0.3",
79
79
  "@smithy/util-retry": "^3.0.3",
80
80
  "@smithy/util-stream": "^3.1.3",
81
81
  "@smithy/util-utf8": "^3.0.0",
@@ -83,7 +83,7 @@
83
83
  "tslib": "^2.6.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@aws-sdk/signature-v4-crt": "3.622.0",
86
+ "@aws-sdk/signature-v4-crt": "3.624.0",
87
87
  "@tsconfig/node16": "16.1.3",
88
88
  "@types/chai": "^4.2.11",
89
89
  "@types/mocha": "^8.0.4",