@aws-sdk/client-s3 3.943.0 → 3.946.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-cjs/index.js +991 -5963
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/S3Client.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +991 -5963
- package/dist-types/S3.d.ts +1 -1
- package/dist-types/S3Client.d.ts +12 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CopyObjectCommand.d.ts +3 -3
- package/dist-types/commands/CreateBucketCommand.d.ts +3 -3
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +3 -3
- package/dist-types/commands/DeleteObjectCommand.d.ts +3 -3
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteObjectsCommand.d.ts +3 -3
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketAbacCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketAclCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketCorsCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketLocationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAclCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +3 -3
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +3 -3
- package/dist-types/commands/HeadBucketCommand.d.ts +3 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +3 -3
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListBucketsCommand.d.ts +3 -3
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -3
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -3
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListObjectsCommand.d.ts +3 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +3 -3
- package/dist-types/commands/ListPartsCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketAbacCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketAclCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketCorsCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectAclCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +3 -3
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +3 -3
- package/dist-types/commands/RenameObjectCommand.d.ts +3 -3
- package/dist-types/commands/RestoreObjectCommand.d.ts +4 -4
- package/dist-types/commands/SelectObjectContentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UploadPartCommand.d.ts +3 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -3
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/S3ServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +6 -6
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -1
- package/package.json +16 -15
|
@@ -12,11 +12,11 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
12
12
|
const hash_blob_browser_1 = require("@smithy/hash-blob-browser");
|
|
13
13
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
14
14
|
const md5_js_1 = require("@smithy/md5-js");
|
|
15
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
16
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
18
|
const util_retry_1 = require("@smithy/util-retry");
|
|
17
19
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
19
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
22
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -16,14 +16,13 @@ const hash_stream_node_1 = require("@smithy/hash-stream-node");
|
|
|
16
16
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
17
17
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
18
18
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
19
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
19
20
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
21
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
22
|
const util_retry_1 = require("@smithy/util-retry");
|
|
21
23
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
22
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
23
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
24
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
25
24
|
const getRuntimeConfig = (config) => {
|
|
26
|
-
(0,
|
|
25
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
26
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
28
27
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
29
28
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/S3Client.js
CHANGED
|
@@ -10,8 +10,8 @@ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
|
10
10
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
11
11
|
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
12
12
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
13
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
14
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
13
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
14
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
15
15
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
16
16
|
import { defaultS3HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
17
17
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
@@ -8,11 +8,11 @@ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fet
|
|
|
8
8
|
import { blobHasher as streamHasher } from "@smithy/hash-blob-browser";
|
|
9
9
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
10
10
|
import { Md5 } from "@smithy/md5-js";
|
|
11
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
12
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
13
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
14
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
16
16
|
export const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,12 +12,11 @@ import { readableStreamHasher as streamHasher } from "@smithy/hash-stream-node";
|
|
|
12
12
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
13
13
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
14
14
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
16
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
17
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
18
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
17
19
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
18
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
19
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
20
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
21
20
|
export const getRuntimeConfig = (config) => {
|
|
22
21
|
emitWarningIfUnsupportedVersion(process.version);
|
|
23
22
|
const defaultsMode = resolveDefaultsModeConfig(config);
|