@aws-sdk/client-s3 3.46.0 → 3.48.0

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.
@@ -1,9 +1,9 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
5
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser";
6
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
7
7
  import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser";
8
8
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
9
9
  import { Md5 } from "@aws-sdk/md5-js";
@@ -13,8 +13,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
13
13
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
14
14
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
15
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
17
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
16
18
  export var getRuntimeConfig = function (config) {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
20
+ var defaultsMode = resolveDefaultsModeConfig(config);
21
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
18
22
  var clientSharedValues = getSharedRuntimeConfig(config);
19
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : Md5, region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalidProvider("Region is missing"), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new FetchHttpHandler(), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Sha256, streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : streamHasher, useDualstackEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _q !== void 0 ? _q : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_r = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _r !== void 0 ? _r : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _s !== void 0 ? _s : fromUtf8, utf8Encoder: (_t = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _t !== void 0 ? _t : toUtf8 });
23
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : Md5, region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalidProvider("Region is missing"), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new RequestHandler(defaultConfigProvider), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
24
+ switch (_a.label) {
25
+ case 0: return [4, defaultConfigProvider()];
26
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
27
+ }
28
+ }); }); }), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Sha256, streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : streamHasher, useDualstackEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _q !== void 0 ? _q : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_r = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _r !== void 0 ? _r : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _s !== void 0 ? _s : fromUtf8, utf8Encoder: (_t = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _t !== void 0 ? _t : toUtf8 });
20
29
  };
@@ -1,4 +1,4 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
@@ -7,16 +7,25 @@ import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node";
7
7
  import { Hash } from "@aws-sdk/hash-node";
8
8
  import { fileStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node";
9
9
  import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
10
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
10
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
11
11
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
12
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
12
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
13
13
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
14
14
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
15
15
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
16
16
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
17
17
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
18
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
19
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
18
20
  export var getRuntimeConfig = function (config) {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
22
+ var defaultsMode = resolveDefaultsModeConfig(config);
23
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
20
24
  var clientSharedValues = getSharedRuntimeConfig(config);
21
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : Hash.bind(null, "md5"), region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new NodeHttpHandler(), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Hash.bind(null, "sha256"), streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : streamHasher, useArnRegion: (_q = config === null || config === void 0 ? void 0 : config.useArnRegion) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS), useDualstackEndpoint: (_r = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _r !== void 0 ? _r : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_s = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _s !== void 0 ? _s : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_t = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _t !== void 0 ? _t : fromUtf8, utf8Encoder: (_u = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _u !== void 0 ? _u : toUtf8 });
25
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : Hash.bind(null, "md5"), region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new RequestHandler(defaultConfigProvider), retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
26
+ switch (_a.label) {
27
+ case 0: return [4, defaultConfigProvider()];
28
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
29
+ }
30
+ }); }); } })), sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : Hash.bind(null, "sha256"), streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : streamCollector, streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : streamHasher, useArnRegion: (_q = config === null || config === void 0 ? void 0 : config.useArnRegion) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS), useDualstackEndpoint: (_r = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _r !== void 0 ? _r : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_s = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _s !== void 0 ? _s : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_t = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _t !== void 0 ? _t : fromUtf8, utf8Encoder: (_u = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _u !== void 0 ? _u : toUtf8 });
22
31
  };
@@ -7,7 +7,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
7
7
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
8
8
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
9
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
11
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
12
12
  import { Readable } from "stream";
13
13
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
@@ -228,6 +228,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
228
228
  * @internal
229
229
  */
230
230
  md5?: __HashConstructor;
231
+ /**
232
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
233
+ */
234
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
231
235
  }
232
236
  declare type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & BucketEndpointInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
233
237
  /**
@@ -77,12 +77,6 @@ export interface NoSuchUpload extends __SmithyException, $MetadataBearer {
77
77
  name: "NoSuchUpload";
78
78
  $fault: "client";
79
79
  }
80
- export declare namespace NoSuchUpload {
81
- /**
82
- * @internal
83
- */
84
- const filterSensitiveLog: (obj: NoSuchUpload) => any;
85
- }
86
80
  export declare type BucketAccelerateStatus = "Enabled" | "Suspended";
87
81
  /**
88
82
  * <p>Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see
@@ -708,12 +702,6 @@ export interface ObjectNotInActiveTierError extends __SmithyException, $Metadata
708
702
  name: "ObjectNotInActiveTierError";
709
703
  $fault: "client";
710
704
  }
711
- export declare namespace ObjectNotInActiveTierError {
712
- /**
713
- * @internal
714
- */
715
- const filterSensitiveLog: (obj: ObjectNotInActiveTierError) => any;
716
- }
717
705
  /**
718
706
  * <p>The requested bucket name is not available. The bucket namespace is shared by all users
719
707
  * of the system. Select a different name and try again.</p>
@@ -722,12 +710,6 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
722
710
  name: "BucketAlreadyExists";
723
711
  $fault: "client";
724
712
  }
725
- export declare namespace BucketAlreadyExists {
726
- /**
727
- * @internal
728
- */
729
- const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
730
- }
731
713
  /**
732
714
  * <p>The bucket you tried to create already exists, and you own it. Amazon S3 returns this error
733
715
  * in all Amazon Web Services Regions except in the North Virginia Region. For legacy compatibility, if you
@@ -738,12 +720,6 @@ export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBea
738
720
  name: "BucketAlreadyOwnedByYou";
739
721
  $fault: "client";
740
722
  }
741
- export declare namespace BucketAlreadyOwnedByYou {
742
- /**
743
- * @internal
744
- */
745
- const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
746
- }
747
723
  export interface CreateBucketOutput {
748
724
  /**
749
725
  * <p>Specifies the Region where the bucket will be created. If you are creating a bucket on
@@ -6422,12 +6398,6 @@ export interface InvalidObjectState extends __SmithyException, $MetadataBearer {
6422
6398
  StorageClass?: StorageClass | string;
6423
6399
  AccessTier?: IntelligentTieringAccessTier | string;
6424
6400
  }
6425
- export declare namespace InvalidObjectState {
6426
- /**
6427
- * @internal
6428
- */
6429
- const filterSensitiveLog: (obj: InvalidObjectState) => any;
6430
- }
6431
6401
  /**
6432
6402
  * <p>The specified key does not exist.</p>
6433
6403
  */
@@ -6435,12 +6405,6 @@ export interface NoSuchKey extends __SmithyException, $MetadataBearer {
6435
6405
  name: "NoSuchKey";
6436
6406
  $fault: "client";
6437
6407
  }
6438
- export declare namespace NoSuchKey {
6439
- /**
6440
- * @internal
6441
- */
6442
- const filterSensitiveLog: (obj: NoSuchKey) => any;
6443
- }
6444
6408
  export interface GetObjectAclOutput {
6445
6409
  /**
6446
6410
  * <p> Container for the bucket owner's display name and ID.</p>
@@ -6950,12 +6914,6 @@ export interface NotFound extends __SmithyException, $MetadataBearer {
6950
6914
  name: "NotFound";
6951
6915
  $fault: "client";
6952
6916
  }
6953
- export declare namespace NotFound {
6954
- /**
6955
- * @internal
6956
- */
6957
- const filterSensitiveLog: (obj: NotFound) => any;
6958
- }
6959
6917
  export declare type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS";
6960
6918
  export interface HeadObjectOutput {
6961
6919
  /**
@@ -7901,12 +7859,6 @@ export interface NoSuchBucket extends __SmithyException, $MetadataBearer {
7901
7859
  name: "NoSuchBucket";
7902
7860
  $fault: "client";
7903
7861
  }
7904
- export declare namespace NoSuchBucket {
7905
- /**
7906
- * @internal
7907
- */
7908
- const filterSensitiveLog: (obj: NoSuchBucket) => any;
7909
- }
7910
7862
  export interface ListObjectsV2Output {
7911
7863
  /**
7912
7864
  * <p>Set to false if all of the results were returned. Set to true if more keys are available
@@ -9733,12 +9685,6 @@ export interface ObjectAlreadyInActiveTierError extends __SmithyException, $Meta
9733
9685
  name: "ObjectAlreadyInActiveTierError";
9734
9686
  $fault: "client";
9735
9687
  }
9736
- export declare namespace ObjectAlreadyInActiveTierError {
9737
- /**
9738
- * @internal
9739
- */
9740
- const filterSensitiveLog: (obj: ObjectAlreadyInActiveTierError) => any;
9741
- }
9742
9688
  export interface RestoreObjectOutput {
9743
9689
  /**
9744
9690
  * <p>If present, indicates that the requester was successfully charged for the
@@ -1,11 +1,12 @@
1
1
  /// <reference types="node" />
2
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
3
3
  import { S3ClientConfig } from "./S3Client";
4
4
  /**
5
5
  * @internal
6
6
  */
7
7
  export declare const getRuntimeConfig: (config: S3ClientConfig) => {
8
8
  runtime: string;
9
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
10
  base64Decoder: import("@aws-sdk/types").Decoder;
10
11
  base64Encoder: import("@aws-sdk/types").Encoder;
11
12
  bodyLengthChecker: (body: any) => number | undefined;
@@ -15,7 +16,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
15
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
17
  md5: import("@aws-sdk/types").HashConstructor;
17
18
  region: string | import("@aws-sdk/types").Provider<any>;
18
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
19
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
19
20
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
21
  sha256: import("@aws-sdk/types").HashConstructor;
21
22
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -39,7 +40,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
39
40
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
40
41
  systemClockOffset?: number | undefined;
41
42
  signingRegion?: string | undefined;
42
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
43
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
43
44
  bucketEndpoint?: boolean | undefined;
44
45
  forcePathStyle?: boolean | undefined;
45
46
  useAccelerateEndpoint?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
3
3
  import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
4
4
  import { S3ClientConfig } from "./S3Client";
5
5
  /**
@@ -7,16 +7,17 @@ import { S3ClientConfig } from "./S3Client";
7
7
  */
8
8
  export declare const getRuntimeConfig: (config: S3ClientConfig) => {
9
9
  runtime: string;
10
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
10
11
  base64Decoder: import("@aws-sdk/types").Decoder;
11
12
  base64Encoder: import("@aws-sdk/types").Encoder;
12
13
  bodyLengthChecker: (body: any) => number | undefined;
13
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
14
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
14
15
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
15
16
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
16
17
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
18
  md5: __HashConstructor;
18
19
  region: string | import("@aws-sdk/types").Provider<string>;
19
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
20
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
20
21
  retryMode: string | import("@aws-sdk/types").Provider<string>;
21
22
  sha256: __HashConstructor;
22
23
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -40,7 +41,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
40
41
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
41
42
  systemClockOffset?: number | undefined;
42
43
  signingRegion?: string | undefined;
43
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
44
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
44
45
  bucketEndpoint?: boolean | undefined;
45
46
  forcePathStyle?: boolean | undefined;
46
47
  useAccelerateEndpoint?: boolean | undefined;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
31
31
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
32
32
  streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
33
33
  md5: import("@aws-sdk/types").HashConstructor;
34
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
34
35
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
35
36
  tls?: boolean | undefined;
36
37
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -38,7 +39,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
38
39
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
39
40
  systemClockOffset?: number | undefined;
40
41
  signingRegion?: string | undefined;
41
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
42
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
42
43
  bucketEndpoint?: boolean | undefined;
43
44
  forcePathStyle?: boolean | undefined;
44
45
  useAccelerateEndpoint?: boolean | undefined;
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
10
10
  logger: __Logger;
11
11
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
12
12
  serviceId: string;
13
- signerConstructor: typeof S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
13
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof S3SignatureV4;
14
14
  signingEscapePath: boolean;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
16
  useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
@@ -7,7 +7,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
7
7
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
8
8
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
9
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
11
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
12
12
  import { Readable } from "stream";
13
13
  import { AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput } from "./commands/AbortMultipartUploadCommand";
@@ -157,6 +157,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
157
157
  streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
158
158
 
159
159
  md5?: __HashConstructor;
160
+
161
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
160
162
  }
161
163
  declare type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & BucketEndpointInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
162
164
 
@@ -41,10 +41,6 @@ export interface NoSuchUpload extends __SmithyException, $MetadataBearer {
41
41
  name: "NoSuchUpload";
42
42
  $fault: "client";
43
43
  }
44
- export declare namespace NoSuchUpload {
45
-
46
- const filterSensitiveLog: (obj: NoSuchUpload) => any;
47
- }
48
44
  export declare type BucketAccelerateStatus = "Enabled" | "Suspended";
49
45
 
50
46
  export interface AccelerateConfiguration {
@@ -320,28 +316,16 @@ export interface ObjectNotInActiveTierError extends __SmithyException, $Metadata
320
316
  name: "ObjectNotInActiveTierError";
321
317
  $fault: "client";
322
318
  }
323
- export declare namespace ObjectNotInActiveTierError {
324
-
325
- const filterSensitiveLog: (obj: ObjectNotInActiveTierError) => any;
326
- }
327
319
 
328
320
  export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer {
329
321
  name: "BucketAlreadyExists";
330
322
  $fault: "client";
331
323
  }
332
- export declare namespace BucketAlreadyExists {
333
-
334
- const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
335
- }
336
324
 
337
325
  export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBearer {
338
326
  name: "BucketAlreadyOwnedByYou";
339
327
  $fault: "client";
340
328
  }
341
- export declare namespace BucketAlreadyOwnedByYou {
342
-
343
- const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
344
- }
345
329
  export interface CreateBucketOutput {
346
330
 
347
331
  Location?: string;
@@ -2252,19 +2236,11 @@ export interface InvalidObjectState extends __SmithyException, $MetadataBearer {
2252
2236
  StorageClass?: StorageClass | string;
2253
2237
  AccessTier?: IntelligentTieringAccessTier | string;
2254
2238
  }
2255
- export declare namespace InvalidObjectState {
2256
-
2257
- const filterSensitiveLog: (obj: InvalidObjectState) => any;
2258
- }
2259
2239
 
2260
2240
  export interface NoSuchKey extends __SmithyException, $MetadataBearer {
2261
2241
  name: "NoSuchKey";
2262
2242
  $fault: "client";
2263
2243
  }
2264
- export declare namespace NoSuchKey {
2265
-
2266
- const filterSensitiveLog: (obj: NoSuchKey) => any;
2267
- }
2268
2244
  export interface GetObjectAclOutput {
2269
2245
 
2270
2246
  Owner?: Owner;
@@ -2512,10 +2488,6 @@ export interface NotFound extends __SmithyException, $MetadataBearer {
2512
2488
  name: "NotFound";
2513
2489
  $fault: "client";
2514
2490
  }
2515
- export declare namespace NotFound {
2516
-
2517
- const filterSensitiveLog: (obj: NotFound) => any;
2518
- }
2519
2491
  export declare type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS";
2520
2492
  export interface HeadObjectOutput {
2521
2493
 
@@ -2907,10 +2879,6 @@ export interface NoSuchBucket extends __SmithyException, $MetadataBearer {
2907
2879
  name: "NoSuchBucket";
2908
2880
  $fault: "client";
2909
2881
  }
2910
- export declare namespace NoSuchBucket {
2911
-
2912
- const filterSensitiveLog: (obj: NoSuchBucket) => any;
2913
- }
2914
2882
  export interface ListObjectsV2Output {
2915
2883
 
2916
2884
  IsTruncated?: boolean;
@@ -3736,10 +3704,6 @@ export interface ObjectAlreadyInActiveTierError extends __SmithyException, $Meta
3736
3704
  name: "ObjectAlreadyInActiveTierError";
3737
3705
  $fault: "client";
3738
3706
  }
3739
- export declare namespace ObjectAlreadyInActiveTierError {
3740
-
3741
- const filterSensitiveLog: (obj: ObjectAlreadyInActiveTierError) => any;
3742
- }
3743
3707
  export interface RestoreObjectOutput {
3744
3708
 
3745
3709
  RequestCharged?: RequestCharged | string;
@@ -1,9 +1,10 @@
1
1
 
2
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
3
3
  import { S3ClientConfig } from "./S3Client";
4
4
 
5
5
  export declare const getRuntimeConfig: (config: S3ClientConfig) => {
6
6
  runtime: string;
7
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
8
  base64Decoder: import("@aws-sdk/types").Decoder;
8
9
  base64Encoder: import("@aws-sdk/types").Encoder;
9
10
  bodyLengthChecker: (body: any) => number | undefined;
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  md5: import("@aws-sdk/types").HashConstructor;
15
16
  region: string | import("@aws-sdk/types").Provider<any>;
16
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
17
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
18
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
19
  sha256: import("@aws-sdk/types").HashConstructor;
19
20
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -37,7 +38,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
37
38
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
38
39
  systemClockOffset?: number | undefined;
39
40
  signingRegion?: string | undefined;
40
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
41
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
41
42
  bucketEndpoint?: boolean | undefined;
42
43
  forcePathStyle?: boolean | undefined;
43
44
  useAccelerateEndpoint?: boolean | undefined;
@@ -1,20 +1,21 @@
1
1
 
2
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
3
3
  import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
4
4
  import { S3ClientConfig } from "./S3Client";
5
5
 
6
6
  export declare const getRuntimeConfig: (config: S3ClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
14
15
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
16
  md5: __HashConstructor;
16
17
  region: string | import("@aws-sdk/types").Provider<string>;
17
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
18
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
18
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
19
20
  sha256: __HashConstructor;
20
21
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -38,7 +39,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
38
39
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
39
40
  systemClockOffset?: number | undefined;
40
41
  signingRegion?: string | undefined;
41
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
42
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
42
43
  bucketEndpoint?: boolean | undefined;
43
44
  forcePathStyle?: boolean | undefined;
44
45
  useAccelerateEndpoint?: boolean | undefined;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
29
29
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
30
30
  streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
31
31
  md5: import("@aws-sdk/types").HashConstructor;
32
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
32
33
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
33
34
  tls?: boolean | undefined;
34
35
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -36,7 +37,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
36
37
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
37
38
  systemClockOffset?: number | undefined;
38
39
  signingRegion?: string | undefined;
39
- signerConstructor: typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
40
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof import("@aws-sdk/middleware-sdk-s3").S3SignatureV4;
40
41
  bucketEndpoint?: boolean | undefined;
41
42
  forcePathStyle?: boolean | undefined;
42
43
  useAccelerateEndpoint?: boolean | undefined;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
8
8
  logger: __Logger;
9
9
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
10
10
  serviceId: string;
11
- signerConstructor: typeof S3SignatureV4 | (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner);
11
+ signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof S3SignatureV4;
12
12
  signingEscapePath: boolean;
13
13
  urlParser: import("@aws-sdk/types").UrlParser;
14
14
  useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;