@aws-sdk/client-s3 3.943.0 → 3.947.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.
Files changed (141) hide show
  1. package/dist-cjs/index.js +991 -5963
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/S3Client.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +991 -5963
  8. package/dist-types/S3.d.ts +1 -1
  9. package/dist-types/S3Client.d.ts +12 -12
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  12. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -3
  13. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -3
  14. package/dist-types/commands/CopyObjectCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateBucketCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateSessionCommand.d.ts +3 -3
  20. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteBucketCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +3 -3
  24. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteObjectCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteObjectsCommand.d.ts +3 -3
  38. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +3 -3
  39. package/dist-types/commands/GetBucketAbacCommand.d.ts +3 -3
  40. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +3 -3
  41. package/dist-types/commands/GetBucketAclCommand.d.ts +3 -3
  42. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +3 -3
  43. package/dist-types/commands/GetBucketCorsCommand.d.ts +3 -3
  44. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +3 -3
  45. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  46. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +3 -3
  47. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -3
  48. package/dist-types/commands/GetBucketLocationCommand.d.ts +3 -3
  49. package/dist-types/commands/GetBucketLoggingCommand.d.ts +3 -3
  50. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +3 -3
  51. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +3 -3
  52. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +3 -3
  53. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  54. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -3
  55. package/dist-types/commands/GetBucketPolicyCommand.d.ts +3 -3
  56. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +3 -3
  57. package/dist-types/commands/GetBucketReplicationCommand.d.ts +3 -3
  58. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +3 -3
  59. package/dist-types/commands/GetBucketTaggingCommand.d.ts +3 -3
  60. package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  61. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +3 -3
  62. package/dist-types/commands/GetObjectAclCommand.d.ts +3 -3
  63. package/dist-types/commands/GetObjectAttributesCommand.d.ts +3 -3
  64. package/dist-types/commands/GetObjectCommand.d.ts +3 -3
  65. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +3 -3
  66. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  67. package/dist-types/commands/GetObjectRetentionCommand.d.ts +3 -3
  68. package/dist-types/commands/GetObjectTaggingCommand.d.ts +3 -3
  69. package/dist-types/commands/GetObjectTorrentCommand.d.ts +3 -3
  70. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +3 -3
  71. package/dist-types/commands/HeadBucketCommand.d.ts +3 -3
  72. package/dist-types/commands/HeadObjectCommand.d.ts +3 -3
  73. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +3 -3
  74. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -3
  75. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +3 -3
  76. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +3 -3
  77. package/dist-types/commands/ListBucketsCommand.d.ts +3 -3
  78. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -3
  79. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -3
  80. package/dist-types/commands/ListObjectVersionsCommand.d.ts +3 -3
  81. package/dist-types/commands/ListObjectsCommand.d.ts +3 -3
  82. package/dist-types/commands/ListObjectsV2Command.d.ts +3 -3
  83. package/dist-types/commands/ListPartsCommand.d.ts +3 -3
  84. package/dist-types/commands/PutBucketAbacCommand.d.ts +3 -3
  85. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -3
  86. package/dist-types/commands/PutBucketAclCommand.d.ts +3 -3
  87. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +3 -3
  88. package/dist-types/commands/PutBucketCorsCommand.d.ts +3 -3
  89. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
  90. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -3
  91. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +3 -3
  92. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -3
  93. package/dist-types/commands/PutBucketLoggingCommand.d.ts +3 -3
  94. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +3 -3
  95. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  96. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +3 -3
  97. package/dist-types/commands/PutBucketPolicyCommand.d.ts +3 -3
  98. package/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -3
  99. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +3 -3
  100. package/dist-types/commands/PutBucketTaggingCommand.d.ts +3 -3
  101. package/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -3
  102. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +3 -3
  103. package/dist-types/commands/PutObjectAclCommand.d.ts +3 -3
  104. package/dist-types/commands/PutObjectCommand.d.ts +3 -3
  105. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +3 -3
  106. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
  107. package/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -3
  108. package/dist-types/commands/PutObjectTaggingCommand.d.ts +3 -3
  109. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +3 -3
  110. package/dist-types/commands/RenameObjectCommand.d.ts +3 -3
  111. package/dist-types/commands/RestoreObjectCommand.d.ts +4 -4
  112. package/dist-types/commands/SelectObjectContentCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +3 -3
  115. package/dist-types/commands/UploadPartCommand.d.ts +3 -3
  116. package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -3
  117. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
  118. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  119. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  120. package/dist-types/extensionConfiguration.d.ts +4 -4
  121. package/dist-types/models/S3ServiceException.d.ts +1 -1
  122. package/dist-types/models/errors.d.ts +1 -1
  123. package/dist-types/models/models_1.d.ts +1 -1
  124. package/dist-types/pagination/Interfaces.d.ts +1 -1
  125. package/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  127. package/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  128. package/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  129. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  130. package/dist-types/runtimeConfig.d.ts +1 -1
  131. package/dist-types/runtimeConfig.native.d.ts +1 -1
  132. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  133. package/dist-types/runtimeExtensions.d.ts +1 -1
  134. package/dist-types/schemas/schemas_0.d.ts +1 -1
  135. package/dist-types/ts3.4/S3Client.d.ts +6 -6
  136. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  137. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -3
  138. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -1
  141. 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, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
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);
@@ -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);
@@ -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);