@aws-sdk/client-s3 3.36.1 → 3.40.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.
package/dist-es/index.js CHANGED
@@ -1,102 +1,6 @@
1
- export * from "./S3Client";
2
1
  export * from "./S3";
3
- export * from "./commands/AbortMultipartUploadCommand";
4
- export * from "./commands/CompleteMultipartUploadCommand";
5
- export * from "./commands/CopyObjectCommand";
6
- export * from "./commands/CreateBucketCommand";
7
- export * from "./commands/CreateMultipartUploadCommand";
8
- export * from "./commands/DeleteBucketCommand";
9
- export * from "./commands/DeleteBucketAnalyticsConfigurationCommand";
10
- export * from "./commands/DeleteBucketCorsCommand";
11
- export * from "./commands/DeleteBucketEncryptionCommand";
12
- export * from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
13
- export * from "./commands/DeleteBucketInventoryConfigurationCommand";
14
- export * from "./commands/DeleteBucketLifecycleCommand";
15
- export * from "./commands/DeleteBucketMetricsConfigurationCommand";
16
- export * from "./commands/DeleteBucketOwnershipControlsCommand";
17
- export * from "./commands/DeleteBucketPolicyCommand";
18
- export * from "./commands/DeleteBucketReplicationCommand";
19
- export * from "./commands/DeleteBucketTaggingCommand";
20
- export * from "./commands/DeleteBucketWebsiteCommand";
21
- export * from "./commands/DeleteObjectCommand";
22
- export * from "./commands/DeleteObjectsCommand";
23
- export * from "./commands/DeleteObjectTaggingCommand";
24
- export * from "./commands/DeletePublicAccessBlockCommand";
25
- export * from "./commands/GetBucketAccelerateConfigurationCommand";
26
- export * from "./commands/GetBucketAclCommand";
27
- export * from "./commands/GetBucketAnalyticsConfigurationCommand";
28
- export * from "./commands/GetBucketCorsCommand";
29
- export * from "./commands/GetBucketEncryptionCommand";
30
- export * from "./commands/GetBucketIntelligentTieringConfigurationCommand";
31
- export * from "./commands/GetBucketInventoryConfigurationCommand";
32
- export * from "./commands/GetBucketLifecycleConfigurationCommand";
33
- export * from "./commands/GetBucketLocationCommand";
34
- export * from "./commands/GetBucketLoggingCommand";
35
- export * from "./commands/GetBucketMetricsConfigurationCommand";
36
- export * from "./commands/GetBucketNotificationConfigurationCommand";
37
- export * from "./commands/GetBucketOwnershipControlsCommand";
38
- export * from "./commands/GetBucketPolicyCommand";
39
- export * from "./commands/GetBucketPolicyStatusCommand";
40
- export * from "./commands/GetBucketReplicationCommand";
41
- export * from "./commands/GetBucketRequestPaymentCommand";
42
- export * from "./commands/GetBucketTaggingCommand";
43
- export * from "./commands/GetBucketVersioningCommand";
44
- export * from "./commands/GetBucketWebsiteCommand";
45
- export * from "./commands/GetObjectCommand";
46
- export * from "./commands/GetObjectAclCommand";
47
- export * from "./commands/GetObjectLegalHoldCommand";
48
- export * from "./commands/GetObjectLockConfigurationCommand";
49
- export * from "./commands/GetObjectRetentionCommand";
50
- export * from "./commands/GetObjectTaggingCommand";
51
- export * from "./commands/GetObjectTorrentCommand";
52
- export * from "./commands/GetPublicAccessBlockCommand";
53
- export * from "./commands/HeadBucketCommand";
54
- export * from "./waiters/waitForBucketExists";
55
- export * from "./waiters/waitForBucketNotExists";
56
- export * from "./commands/HeadObjectCommand";
57
- export * from "./waiters/waitForObjectExists";
58
- export * from "./waiters/waitForObjectNotExists";
59
- export * from "./commands/ListBucketAnalyticsConfigurationsCommand";
60
- export * from "./commands/ListBucketIntelligentTieringConfigurationsCommand";
61
- export * from "./commands/ListBucketInventoryConfigurationsCommand";
62
- export * from "./commands/ListBucketMetricsConfigurationsCommand";
63
- export * from "./commands/ListBucketsCommand";
64
- export * from "./commands/ListMultipartUploadsCommand";
65
- export * from "./commands/ListObjectsCommand";
66
- export * from "./commands/ListObjectsV2Command";
67
- export * from "./pagination/ListObjectsV2Paginator";
68
- export * from "./commands/ListObjectVersionsCommand";
69
- export * from "./commands/ListPartsCommand";
70
- export * from "./pagination/ListPartsPaginator";
71
- export * from "./commands/PutBucketAccelerateConfigurationCommand";
72
- export * from "./commands/PutBucketAclCommand";
73
- export * from "./commands/PutBucketAnalyticsConfigurationCommand";
74
- export * from "./commands/PutBucketCorsCommand";
75
- export * from "./commands/PutBucketEncryptionCommand";
76
- export * from "./commands/PutBucketIntelligentTieringConfigurationCommand";
77
- export * from "./commands/PutBucketInventoryConfigurationCommand";
78
- export * from "./commands/PutBucketLifecycleConfigurationCommand";
79
- export * from "./commands/PutBucketLoggingCommand";
80
- export * from "./commands/PutBucketMetricsConfigurationCommand";
81
- export * from "./commands/PutBucketNotificationConfigurationCommand";
82
- export * from "./commands/PutBucketOwnershipControlsCommand";
83
- export * from "./commands/PutBucketPolicyCommand";
84
- export * from "./commands/PutBucketReplicationCommand";
85
- export * from "./commands/PutBucketRequestPaymentCommand";
86
- export * from "./commands/PutBucketTaggingCommand";
87
- export * from "./commands/PutBucketVersioningCommand";
88
- export * from "./commands/PutBucketWebsiteCommand";
89
- export * from "./commands/PutObjectCommand";
90
- export * from "./commands/PutObjectAclCommand";
91
- export * from "./commands/PutObjectLegalHoldCommand";
92
- export * from "./commands/PutObjectLockConfigurationCommand";
93
- export * from "./commands/PutObjectRetentionCommand";
94
- export * from "./commands/PutObjectTaggingCommand";
95
- export * from "./commands/PutPublicAccessBlockCommand";
96
- export * from "./commands/RestoreObjectCommand";
97
- export * from "./commands/SelectObjectContentCommand";
98
- export * from "./commands/UploadPartCommand";
99
- export * from "./commands/UploadPartCopyCommand";
100
- export * from "./commands/WriteGetObjectResponseCommand";
101
- export * from "./pagination/Interfaces";
102
- export * from "./models/index";
2
+ export * from "./S3Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListObjectsV2Paginator";
3
+ export * from "./ListPartsPaginator";
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser";
5
6
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
7
  import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser";
@@ -13,7 +14,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
13
14
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
14
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
16
  export var getRuntimeConfig = function (config) {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
17
18
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- 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, utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
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 });
19
20
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
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";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node";
7
7
  import { Hash } from "@aws-sdk/hash-node";
@@ -17,8 +17,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
17
17
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
18
18
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
19
19
  export var getRuntimeConfig = function (config) {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
21
21
  emitWarningIfUnsupportedVersion(process.version);
22
22
  var clientSharedValues = getSharedRuntimeConfig(config);
23
- 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), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
23
+ 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 });
24
24
  };
@@ -0,0 +1,4 @@
1
+ export * from "./waitForBucketExists";
2
+ export * from "./waitForBucketNotExists";
3
+ export * from "./waitForObjectExists";
4
+ export * from "./waitForObjectNotExists";
@@ -172,6 +172,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
172
172
  * Optional logger for logging debug/info/warn/error.
173
173
  */
174
174
  logger?: __Logger;
175
+ /**
176
+ * Enables IPv6/IPv4 dualstack endpoint.
177
+ */
178
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
179
+ /**
180
+ * Enables FIPS compatible endpoints.
181
+ */
182
+ useFipsEndpoint?: boolean | __Provider<boolean>;
175
183
  /**
176
184
  * Unique service identifier.
177
185
  * @internal
@@ -0,0 +1,92 @@
1
+ export * from "./AbortMultipartUploadCommand";
2
+ export * from "./CompleteMultipartUploadCommand";
3
+ export * from "./CopyObjectCommand";
4
+ export * from "./CreateBucketCommand";
5
+ export * from "./CreateMultipartUploadCommand";
6
+ export * from "./DeleteBucketAnalyticsConfigurationCommand";
7
+ export * from "./DeleteBucketCommand";
8
+ export * from "./DeleteBucketCorsCommand";
9
+ export * from "./DeleteBucketEncryptionCommand";
10
+ export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
11
+ export * from "./DeleteBucketInventoryConfigurationCommand";
12
+ export * from "./DeleteBucketLifecycleCommand";
13
+ export * from "./DeleteBucketMetricsConfigurationCommand";
14
+ export * from "./DeleteBucketOwnershipControlsCommand";
15
+ export * from "./DeleteBucketPolicyCommand";
16
+ export * from "./DeleteBucketReplicationCommand";
17
+ export * from "./DeleteBucketTaggingCommand";
18
+ export * from "./DeleteBucketWebsiteCommand";
19
+ export * from "./DeleteObjectCommand";
20
+ export * from "./DeleteObjectTaggingCommand";
21
+ export * from "./DeleteObjectsCommand";
22
+ export * from "./DeletePublicAccessBlockCommand";
23
+ export * from "./GetBucketAccelerateConfigurationCommand";
24
+ export * from "./GetBucketAclCommand";
25
+ export * from "./GetBucketAnalyticsConfigurationCommand";
26
+ export * from "./GetBucketCorsCommand";
27
+ export * from "./GetBucketEncryptionCommand";
28
+ export * from "./GetBucketIntelligentTieringConfigurationCommand";
29
+ export * from "./GetBucketInventoryConfigurationCommand";
30
+ export * from "./GetBucketLifecycleConfigurationCommand";
31
+ export * from "./GetBucketLocationCommand";
32
+ export * from "./GetBucketLoggingCommand";
33
+ export * from "./GetBucketMetricsConfigurationCommand";
34
+ export * from "./GetBucketNotificationConfigurationCommand";
35
+ export * from "./GetBucketOwnershipControlsCommand";
36
+ export * from "./GetBucketPolicyCommand";
37
+ export * from "./GetBucketPolicyStatusCommand";
38
+ export * from "./GetBucketReplicationCommand";
39
+ export * from "./GetBucketRequestPaymentCommand";
40
+ export * from "./GetBucketTaggingCommand";
41
+ export * from "./GetBucketVersioningCommand";
42
+ export * from "./GetBucketWebsiteCommand";
43
+ export * from "./GetObjectAclCommand";
44
+ export * from "./GetObjectCommand";
45
+ export * from "./GetObjectLegalHoldCommand";
46
+ export * from "./GetObjectLockConfigurationCommand";
47
+ export * from "./GetObjectRetentionCommand";
48
+ export * from "./GetObjectTaggingCommand";
49
+ export * from "./GetObjectTorrentCommand";
50
+ export * from "./GetPublicAccessBlockCommand";
51
+ export * from "./HeadBucketCommand";
52
+ export * from "./HeadObjectCommand";
53
+ export * from "./ListBucketAnalyticsConfigurationsCommand";
54
+ export * from "./ListBucketIntelligentTieringConfigurationsCommand";
55
+ export * from "./ListBucketInventoryConfigurationsCommand";
56
+ export * from "./ListBucketMetricsConfigurationsCommand";
57
+ export * from "./ListBucketsCommand";
58
+ export * from "./ListMultipartUploadsCommand";
59
+ export * from "./ListObjectVersionsCommand";
60
+ export * from "./ListObjectsCommand";
61
+ export * from "./ListObjectsV2Command";
62
+ export * from "./ListPartsCommand";
63
+ export * from "./PutBucketAccelerateConfigurationCommand";
64
+ export * from "./PutBucketAclCommand";
65
+ export * from "./PutBucketAnalyticsConfigurationCommand";
66
+ export * from "./PutBucketCorsCommand";
67
+ export * from "./PutBucketEncryptionCommand";
68
+ export * from "./PutBucketIntelligentTieringConfigurationCommand";
69
+ export * from "./PutBucketInventoryConfigurationCommand";
70
+ export * from "./PutBucketLifecycleConfigurationCommand";
71
+ export * from "./PutBucketLoggingCommand";
72
+ export * from "./PutBucketMetricsConfigurationCommand";
73
+ export * from "./PutBucketNotificationConfigurationCommand";
74
+ export * from "./PutBucketOwnershipControlsCommand";
75
+ export * from "./PutBucketPolicyCommand";
76
+ export * from "./PutBucketReplicationCommand";
77
+ export * from "./PutBucketRequestPaymentCommand";
78
+ export * from "./PutBucketTaggingCommand";
79
+ export * from "./PutBucketVersioningCommand";
80
+ export * from "./PutBucketWebsiteCommand";
81
+ export * from "./PutObjectAclCommand";
82
+ export * from "./PutObjectCommand";
83
+ export * from "./PutObjectLegalHoldCommand";
84
+ export * from "./PutObjectLockConfigurationCommand";
85
+ export * from "./PutObjectRetentionCommand";
86
+ export * from "./PutObjectTaggingCommand";
87
+ export * from "./PutPublicAccessBlockCommand";
88
+ export * from "./RestoreObjectCommand";
89
+ export * from "./SelectObjectContentCommand";
90
+ export * from "./UploadPartCommand";
91
+ export * from "./UploadPartCopyCommand";
92
+ export * from "./WriteGetObjectResponseCommand";
@@ -1,102 +1,6 @@
1
- export * from "./S3Client";
2
1
  export * from "./S3";
3
- export * from "./commands/AbortMultipartUploadCommand";
4
- export * from "./commands/CompleteMultipartUploadCommand";
5
- export * from "./commands/CopyObjectCommand";
6
- export * from "./commands/CreateBucketCommand";
7
- export * from "./commands/CreateMultipartUploadCommand";
8
- export * from "./commands/DeleteBucketCommand";
9
- export * from "./commands/DeleteBucketAnalyticsConfigurationCommand";
10
- export * from "./commands/DeleteBucketCorsCommand";
11
- export * from "./commands/DeleteBucketEncryptionCommand";
12
- export * from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
13
- export * from "./commands/DeleteBucketInventoryConfigurationCommand";
14
- export * from "./commands/DeleteBucketLifecycleCommand";
15
- export * from "./commands/DeleteBucketMetricsConfigurationCommand";
16
- export * from "./commands/DeleteBucketOwnershipControlsCommand";
17
- export * from "./commands/DeleteBucketPolicyCommand";
18
- export * from "./commands/DeleteBucketReplicationCommand";
19
- export * from "./commands/DeleteBucketTaggingCommand";
20
- export * from "./commands/DeleteBucketWebsiteCommand";
21
- export * from "./commands/DeleteObjectCommand";
22
- export * from "./commands/DeleteObjectsCommand";
23
- export * from "./commands/DeleteObjectTaggingCommand";
24
- export * from "./commands/DeletePublicAccessBlockCommand";
25
- export * from "./commands/GetBucketAccelerateConfigurationCommand";
26
- export * from "./commands/GetBucketAclCommand";
27
- export * from "./commands/GetBucketAnalyticsConfigurationCommand";
28
- export * from "./commands/GetBucketCorsCommand";
29
- export * from "./commands/GetBucketEncryptionCommand";
30
- export * from "./commands/GetBucketIntelligentTieringConfigurationCommand";
31
- export * from "./commands/GetBucketInventoryConfigurationCommand";
32
- export * from "./commands/GetBucketLifecycleConfigurationCommand";
33
- export * from "./commands/GetBucketLocationCommand";
34
- export * from "./commands/GetBucketLoggingCommand";
35
- export * from "./commands/GetBucketMetricsConfigurationCommand";
36
- export * from "./commands/GetBucketNotificationConfigurationCommand";
37
- export * from "./commands/GetBucketOwnershipControlsCommand";
38
- export * from "./commands/GetBucketPolicyCommand";
39
- export * from "./commands/GetBucketPolicyStatusCommand";
40
- export * from "./commands/GetBucketReplicationCommand";
41
- export * from "./commands/GetBucketRequestPaymentCommand";
42
- export * from "./commands/GetBucketTaggingCommand";
43
- export * from "./commands/GetBucketVersioningCommand";
44
- export * from "./commands/GetBucketWebsiteCommand";
45
- export * from "./commands/GetObjectCommand";
46
- export * from "./commands/GetObjectAclCommand";
47
- export * from "./commands/GetObjectLegalHoldCommand";
48
- export * from "./commands/GetObjectLockConfigurationCommand";
49
- export * from "./commands/GetObjectRetentionCommand";
50
- export * from "./commands/GetObjectTaggingCommand";
51
- export * from "./commands/GetObjectTorrentCommand";
52
- export * from "./commands/GetPublicAccessBlockCommand";
53
- export * from "./commands/HeadBucketCommand";
54
- export * from "./waiters/waitForBucketExists";
55
- export * from "./waiters/waitForBucketNotExists";
56
- export * from "./commands/HeadObjectCommand";
57
- export * from "./waiters/waitForObjectExists";
58
- export * from "./waiters/waitForObjectNotExists";
59
- export * from "./commands/ListBucketAnalyticsConfigurationsCommand";
60
- export * from "./commands/ListBucketIntelligentTieringConfigurationsCommand";
61
- export * from "./commands/ListBucketInventoryConfigurationsCommand";
62
- export * from "./commands/ListBucketMetricsConfigurationsCommand";
63
- export * from "./commands/ListBucketsCommand";
64
- export * from "./commands/ListMultipartUploadsCommand";
65
- export * from "./commands/ListObjectsCommand";
66
- export * from "./commands/ListObjectsV2Command";
67
- export * from "./pagination/ListObjectsV2Paginator";
68
- export * from "./commands/ListObjectVersionsCommand";
69
- export * from "./commands/ListPartsCommand";
70
- export * from "./pagination/ListPartsPaginator";
71
- export * from "./commands/PutBucketAccelerateConfigurationCommand";
72
- export * from "./commands/PutBucketAclCommand";
73
- export * from "./commands/PutBucketAnalyticsConfigurationCommand";
74
- export * from "./commands/PutBucketCorsCommand";
75
- export * from "./commands/PutBucketEncryptionCommand";
76
- export * from "./commands/PutBucketIntelligentTieringConfigurationCommand";
77
- export * from "./commands/PutBucketInventoryConfigurationCommand";
78
- export * from "./commands/PutBucketLifecycleConfigurationCommand";
79
- export * from "./commands/PutBucketLoggingCommand";
80
- export * from "./commands/PutBucketMetricsConfigurationCommand";
81
- export * from "./commands/PutBucketNotificationConfigurationCommand";
82
- export * from "./commands/PutBucketOwnershipControlsCommand";
83
- export * from "./commands/PutBucketPolicyCommand";
84
- export * from "./commands/PutBucketReplicationCommand";
85
- export * from "./commands/PutBucketRequestPaymentCommand";
86
- export * from "./commands/PutBucketTaggingCommand";
87
- export * from "./commands/PutBucketVersioningCommand";
88
- export * from "./commands/PutBucketWebsiteCommand";
89
- export * from "./commands/PutObjectCommand";
90
- export * from "./commands/PutObjectAclCommand";
91
- export * from "./commands/PutObjectLegalHoldCommand";
92
- export * from "./commands/PutObjectLockConfigurationCommand";
93
- export * from "./commands/PutObjectRetentionCommand";
94
- export * from "./commands/PutObjectTaggingCommand";
95
- export * from "./commands/PutPublicAccessBlockCommand";
96
- export * from "./commands/RestoreObjectCommand";
97
- export * from "./commands/SelectObjectContentCommand";
98
- export * from "./commands/UploadPartCommand";
99
- export * from "./commands/UploadPartCopyCommand";
100
- export * from "./commands/WriteGetObjectResponseCommand";
101
- export * from "./pagination/Interfaces";
102
- export * from "./models/index";
2
+ export * from "./S3Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListObjectsV2Paginator";
3
+ export * from "./ListPartsPaginator";
@@ -20,6 +20,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
20
20
  sha256: import("@aws-sdk/types").HashConstructor;
21
21
  streamCollector: import("@aws-sdk/types").StreamCollector;
22
22
  streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
23
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
25
  utf8Decoder: import("@aws-sdk/types").Decoder;
24
26
  utf8Encoder: import("@aws-sdk/types").Encoder;
25
27
  apiVersion: string;
@@ -41,7 +43,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
41
43
  bucketEndpoint?: boolean | undefined;
42
44
  forcePathStyle?: boolean | undefined;
43
45
  useAccelerateEndpoint?: boolean | undefined;
44
- useDualstackEndpoint?: boolean | undefined;
45
46
  disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
46
47
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
47
48
  };
@@ -22,6 +22,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
22
22
  streamCollector: import("@aws-sdk/types").StreamCollector;
23
23
  streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
24
24
  useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
25
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
25
27
  utf8Decoder: import("@aws-sdk/types").Decoder;
26
28
  utf8Encoder: import("@aws-sdk/types").Encoder;
27
29
  apiVersion: string;
@@ -42,7 +44,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
42
44
  bucketEndpoint?: boolean | undefined;
43
45
  forcePathStyle?: boolean | undefined;
44
46
  useAccelerateEndpoint?: boolean | undefined;
45
- useDualstackEndpoint?: boolean | undefined;
46
47
  disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
47
48
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
48
49
  };
@@ -19,6 +19,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
19
19
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
20
20
  retryMode: string | import("@aws-sdk/types").Provider<string>;
21
21
  logger: import("@aws-sdk/types").Logger;
22
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
24
  serviceId: string;
23
25
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
26
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -40,7 +42,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
40
42
  bucketEndpoint?: boolean | undefined;
41
43
  forcePathStyle?: boolean | undefined;
42
44
  useAccelerateEndpoint?: boolean | undefined;
43
- useDualstackEndpoint?: boolean | undefined;
44
45
  disableMultiregionAccessPoints?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
45
46
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
46
47
  };
@@ -134,6 +134,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
134
134
 
135
135
  logger?: __Logger;
136
136
 
137
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
138
+
139
+ useFipsEndpoint?: boolean | __Provider<boolean>;
140
+
137
141
  serviceId?: string;
138
142
 
139
143
  region?: string | __Provider<string>;
@@ -0,0 +1,92 @@
1
+ export * from "./AbortMultipartUploadCommand";
2
+ export * from "./CompleteMultipartUploadCommand";
3
+ export * from "./CopyObjectCommand";
4
+ export * from "./CreateBucketCommand";
5
+ export * from "./CreateMultipartUploadCommand";
6
+ export * from "./DeleteBucketAnalyticsConfigurationCommand";
7
+ export * from "./DeleteBucketCommand";
8
+ export * from "./DeleteBucketCorsCommand";
9
+ export * from "./DeleteBucketEncryptionCommand";
10
+ export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
11
+ export * from "./DeleteBucketInventoryConfigurationCommand";
12
+ export * from "./DeleteBucketLifecycleCommand";
13
+ export * from "./DeleteBucketMetricsConfigurationCommand";
14
+ export * from "./DeleteBucketOwnershipControlsCommand";
15
+ export * from "./DeleteBucketPolicyCommand";
16
+ export * from "./DeleteBucketReplicationCommand";
17
+ export * from "./DeleteBucketTaggingCommand";
18
+ export * from "./DeleteBucketWebsiteCommand";
19
+ export * from "./DeleteObjectCommand";
20
+ export * from "./DeleteObjectTaggingCommand";
21
+ export * from "./DeleteObjectsCommand";
22
+ export * from "./DeletePublicAccessBlockCommand";
23
+ export * from "./GetBucketAccelerateConfigurationCommand";
24
+ export * from "./GetBucketAclCommand";
25
+ export * from "./GetBucketAnalyticsConfigurationCommand";
26
+ export * from "./GetBucketCorsCommand";
27
+ export * from "./GetBucketEncryptionCommand";
28
+ export * from "./GetBucketIntelligentTieringConfigurationCommand";
29
+ export * from "./GetBucketInventoryConfigurationCommand";
30
+ export * from "./GetBucketLifecycleConfigurationCommand";
31
+ export * from "./GetBucketLocationCommand";
32
+ export * from "./GetBucketLoggingCommand";
33
+ export * from "./GetBucketMetricsConfigurationCommand";
34
+ export * from "./GetBucketNotificationConfigurationCommand";
35
+ export * from "./GetBucketOwnershipControlsCommand";
36
+ export * from "./GetBucketPolicyCommand";
37
+ export * from "./GetBucketPolicyStatusCommand";
38
+ export * from "./GetBucketReplicationCommand";
39
+ export * from "./GetBucketRequestPaymentCommand";
40
+ export * from "./GetBucketTaggingCommand";
41
+ export * from "./GetBucketVersioningCommand";
42
+ export * from "./GetBucketWebsiteCommand";
43
+ export * from "./GetObjectAclCommand";
44
+ export * from "./GetObjectCommand";
45
+ export * from "./GetObjectLegalHoldCommand";
46
+ export * from "./GetObjectLockConfigurationCommand";
47
+ export * from "./GetObjectRetentionCommand";
48
+ export * from "./GetObjectTaggingCommand";
49
+ export * from "./GetObjectTorrentCommand";
50
+ export * from "./GetPublicAccessBlockCommand";
51
+ export * from "./HeadBucketCommand";
52
+ export * from "./HeadObjectCommand";
53
+ export * from "./ListBucketAnalyticsConfigurationsCommand";
54
+ export * from "./ListBucketIntelligentTieringConfigurationsCommand";
55
+ export * from "./ListBucketInventoryConfigurationsCommand";
56
+ export * from "./ListBucketMetricsConfigurationsCommand";
57
+ export * from "./ListBucketsCommand";
58
+ export * from "./ListMultipartUploadsCommand";
59
+ export * from "./ListObjectVersionsCommand";
60
+ export * from "./ListObjectsCommand";
61
+ export * from "./ListObjectsV2Command";
62
+ export * from "./ListPartsCommand";
63
+ export * from "./PutBucketAccelerateConfigurationCommand";
64
+ export * from "./PutBucketAclCommand";
65
+ export * from "./PutBucketAnalyticsConfigurationCommand";
66
+ export * from "./PutBucketCorsCommand";
67
+ export * from "./PutBucketEncryptionCommand";
68
+ export * from "./PutBucketIntelligentTieringConfigurationCommand";
69
+ export * from "./PutBucketInventoryConfigurationCommand";
70
+ export * from "./PutBucketLifecycleConfigurationCommand";
71
+ export * from "./PutBucketLoggingCommand";
72
+ export * from "./PutBucketMetricsConfigurationCommand";
73
+ export * from "./PutBucketNotificationConfigurationCommand";
74
+ export * from "./PutBucketOwnershipControlsCommand";
75
+ export * from "./PutBucketPolicyCommand";
76
+ export * from "./PutBucketReplicationCommand";
77
+ export * from "./PutBucketRequestPaymentCommand";
78
+ export * from "./PutBucketTaggingCommand";
79
+ export * from "./PutBucketVersioningCommand";
80
+ export * from "./PutBucketWebsiteCommand";
81
+ export * from "./PutObjectAclCommand";
82
+ export * from "./PutObjectCommand";
83
+ export * from "./PutObjectLegalHoldCommand";
84
+ export * from "./PutObjectLockConfigurationCommand";
85
+ export * from "./PutObjectRetentionCommand";
86
+ export * from "./PutObjectTaggingCommand";
87
+ export * from "./PutPublicAccessBlockCommand";
88
+ export * from "./RestoreObjectCommand";
89
+ export * from "./SelectObjectContentCommand";
90
+ export * from "./UploadPartCommand";
91
+ export * from "./UploadPartCopyCommand";
92
+ export * from "./WriteGetObjectResponseCommand";